New hook "page_info_data"
This commit is contained in:
parent
3600289262
commit
0c1fdb7da1
|
@ -889,6 +889,8 @@ function get_atom_elements($feed, $item, $contact = array()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function add_page_info_data($data) {
|
function add_page_info_data($data) {
|
||||||
|
call_hooks('page_info_data', $data);
|
||||||
|
|
||||||
// It maybe is a rich content, but if it does have everything that a link has,
|
// It maybe is a rich content, but if it does have everything that a link has,
|
||||||
// then treat it that way
|
// then treat it that way
|
||||||
if (($data["type"] == "rich") AND is_string($data["title"]) AND
|
if (($data["type"] == "rich") AND is_string($data["title"]) AND
|
||||||
|
|
Loading…
Reference in a new issue