New hook "page_info_data"

This commit is contained in:
Michael Vogel 2014-10-20 08:10:21 +02:00
parent 3600289262
commit 0c1fdb7da1
1 changed files with 2 additions and 0 deletions

View File

@ -889,6 +889,8 @@ function get_atom_elements($feed, $item, $contact = array()) {
}
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,
// then treat it that way
if (($data["type"] == "rich") AND is_string($data["title"]) AND