]> git.mxchange.org Git - friendica.git/commitdiff
New hook "page_info_data"
authorMichael Vogel <icarus@dabo.de>
Mon, 20 Oct 2014 06:10:21 +0000 (08:10 +0200)
committerMichael Vogel <icarus@dabo.de>
Mon, 20 Oct 2014 06:10:21 +0000 (08:10 +0200)
include/items.php

index 428c8e27d765f72d2769a326b6ce3d91c50273f1..2d6109b0f2884467368a41bb08297df71d4e18c3 100644 (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