Skip to:
Content

BuddyPress.org

Changeset 13582


Ignore:
Timestamp:
09/16/2023 07:37:53 AM (13 months ago)
Author:
imath
Message:

Add an action hook before the <rss/> tag of Activity feeds

Props shawfactor

Fixes #8995
Closes https://github.com/buddypress/buddypress/pull/164

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/classes/class-bp-activity-feed.php

    r13404 r13582  
    411411        $this->http_headers();
    412412        echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?'.'>';
     413
     414        /**
     415         * Fires between the xml and rss tags in an Activity feed.
     416         *
     417         * @since 12.0.0
     418         */
     419        do_action( 'bp_activity_feed_rss_tag_pre' );
    413420    ?>
    414421
Note: See TracChangeset for help on using the changeset viewer.