bbp_unspammed_reply

  • do_action( 'bbp_unspammed_reply', $reply_id )

    Source Reference:

    • Component: bbPress:: bbp-reply
      File: /bbp-includes/bbp-reply-functions.php :: Trac Source Line: 1149
      	delete_post_meta( $reply_id, '_bbp_spam_meta_status' );
      
      	// No revisions
      	remove_action( 'pre_post_update', 'wp_save_post_revision' );
      
      	// Update the reply
      	$reply_id = wp_insert_post( $reply );
      
      	// Execute post unspam code
      	do_action( 'bbp_unspammed_reply', $reply_id );
      
      	// Return reply_id
      	return $reply_id;
      }
      
      /** Before Delete/Trash/Untrash ***********************************************/
      
      /**
       * Called before deleting a reply
       *
      

Hook: add_action: bbp_unspammed_reply instances (1)

  • add_action( 'bbp_unspammed_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: 217
      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' );
      add_action( 'bbp_new_reply', 'bbp_global_access_auto_role' );
      
      // Flush rewrite rules
      

Comments are closed.