bp_after_activity_comment

Hook: add_action: bp_after_activity_comment instances (1)

  • add_action( 'bp_after_activity_comment', 'bp_activity_comment_embed_after_recurse' )
    $function_to_add: bp_activity_comment_embed_after_recurse
    $priority: 0
    $accepted_args: 0

    Source Reference:

    • Component: BuddyPress :: bp-activity
      File: /bp-activity/bp-activity-functions.php :: Trac Source Line: 1410
       * @since 1.5
       *
       * @see bp_activity_comment_embed()
       *
       * @uses remove_filter() To remove 'bp_get_activity_comment_id' from 'embed_post_id'
       */
      function bp_activity_comment_embed_after_recurse() {
      	remove_filter( 'embed_post_id', 'bp_get_activity_comment_id' );
      }
      add_action( 'bp_after_activity_comment', 'bp_activity_comment_embed_after_recurse' );
      
      /**
       * Wrapper function for {@link bp_activity_get_meta()}.
       * Used during {@link BP_Embed::parse_oembed()} via {@link bp_activity_embed()}.
       *
       * @since 1.5
       *
       * @uses bp_activity_get_meta()
       *
       * @return mixed The activity meta
      

Comments are closed.