bbp_untrashed_reply

  • do_action( 'bbp_untrashed_reply', $reply_id )

    Source Reference:

    • Component: bbPress:: bbp-reply
      File: /bbp-includes/bbp-reply-functions.php :: Trac Source Line: 1252
       * @uses bbp_is_reply() To check if the passed id is a reply
       * @uses do_action() Calls 'bbp_untrashed_reply' with the reply id
       */
      function bbp_untrashed_reply( $reply_id = 0 ) {
      	$reply_id = bbp_get_reply_id( $reply_id );
      
      	if ( empty( $reply_id ) || !bbp_is_reply( $reply_id ) )
      		return false;
      
      	do_action( 'bbp_untrashed_reply', $reply_id );
      }
      
      /** Feeds *********************************************************************/
      
      /**
       * Output an RSS2 feed of replies, based on the query passed.
       *
       * @since bbPress (r3171)
       *
       * @uses bbp_version()
      

Hook: add_action: bbp_untrashed_reply instances (1)

  • add_action( 'bbp_untrashed_reply', 'bbp_update_reply_walker' )
    $function_to_add: bbp_update_reply_walker
    $priority: 0
    $accepted_args: 0

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-core-hooks.php :: Trac Source Line: 214
      // Update topic branch
      add_action( 'bbp_trashed_topic',   'bbp_update_topic_walker' );
      add_action( 'bbp_untrashed_topic', 'bbp_update_topic_walker' );
      add_action( 'bbp_deleted_topic',   'bbp_update_topic_walker' );
      add_action( 'bbp_spammed_topic',   'bbp_update_topic_walker' );
      add_action( 'bbp_unspammed_topic', 'bbp_update_topic_walker' );
      
      // Update reply branch
      add_action( 'bbp_trashed_reply',   'bbp_update_reply_walker' );
      add_action( 'bbp_untrashed_reply', 'bbp_update_reply_walker' );
      add_action( 'bbp_deleted_reply',   'bbp_update_reply_walker' );
      add_action( 'bbp_spammed_reply',   'bbp_update_reply_walker' );
      add_action( 'bbp_unspammed_reply', 'bbp_update_reply_walker' );
      
      // User status
      add_action( 'make_ham_user',  'bbp_make_ham_user'  );
      add_action( 'make_spam_user', 'bbp_make_spam_user' );
      
      // User role
      add_action( 'bbp_new_topic', 'bbp_global_access_auto_role' );
      

Comments are closed.