-
do_action( 'admin_notices' )
Source Reference:
-
} } ?> <div class="wrap"> <?php screen_icon( 'tools' ); ?> <h2><?php _e( 'bbPress Recount', 'bbpress' ) ?></h2> <?php do_action( 'admin_notices' ); ?> <p><?php _e( 'bbPress keeps a running count of things like replies to each topic and topics in each forum. In rare occasions these counts can fall out of sync. Using this form you can have bbPress manually recount these items.', 'bbpress' ); ?></p> <p><?php _e( 'You can also use this form to clean out stale items like empty tags.', 'bbpress' ); ?></p> <form class="settings" method="post" action=""> <table class="form-table"> <tbody> <tr valign="top"> <th scope="row"><?php _e( 'Things to recount:', 'bbpress' ) ?></th> <td>
-
Hook: add_action: admin_notices instances (4)
-
add_action( 'admin_notices', $lambda )
Source Reference:
-
$class = $class ? $class : 'error'; } else { return false; } $message = '<div id="message" class="' . esc_attr( $class ) . '">' . $message . '</div>'; $message = str_replace( "'", "'", $message ); $lambda = create_function( '', "echo '$message';" ); add_action( 'admin_notices', $lambda ); return $lambda; } /** * Get the array of the recount list * * @since bbPress (r2613) * * @uses apply_filters() Calls 'bbp_recount_list' with the recount list array
-
Hook: add_action: admin_notices instances (4)
-
add_action( 'admin_notices', array( $this, 'activation_notice' ) )
Source Reference:
-
add_action( 'admin_init', array( $this, 'admin_init' ) ); // Add some general styling to the admin area add_action( 'admin_head', array( $this, 'admin_head' ) ); // Add menu item to settings menu add_action( 'admin_menu', array( $this, 'admin_menus' ) ); // Add notice if not using a bbPress theme add_action( 'admin_notices', array( $this, 'activation_notice' ) ); // Add importers add_action( 'bbp_admin_init', array( $this, 'register_importers' ) ); // Add green admin style add_action( 'bbp_admin_init', array( $this, 'register_admin_style' ) ); // Add settings add_action( 'bbp_admin_init', array( $this, 'register_admin_settings' ) );
-
Hook: add_action: admin_notices instances (4)
-
add_action( 'admin_notices', array( $this, 'toggle_topic_notice' ) )
Source Reference:
-
add_action( 'manage_' . $this->post_type . '_posts_custom_column', array( $this, 'topics_column_data' ), 10, 2 ); add_filter( 'post_row_actions', array( $this, 'topics_row_actions' ), 10, 2 ); // Topic metabox actions add_action( 'add_meta_boxes', array( $this, 'topic_attributes_metabox' ) ); add_action( 'save_post', array( $this, 'topic_attributes_metabox_save' ) ); // Check if there are any bbp_toggle_topic_* requests on admin_init, also have a message displayed add_action( 'bbp_admin_init', array( $this, 'toggle_topic' ) ); add_action( 'admin_notices', array( $this, 'toggle_topic_notice' ) ); // Anonymous metabox actions add_action( 'add_meta_boxes', array( $this, 'author_metabox' ) ); add_action( 'save_post', array( $this, 'author_metabox_save' ) ); // Add ability to filter topics and replies per forum add_filter( 'restrict_manage_posts', array( $this, 'filter_dropdown' ) ); add_filter( 'request', array( $this, 'filter_post_rows' ) ); }
-
Hook: add_action: admin_notices instances (4)
-
add_action( 'admin_notices', array( $this, 'toggle_reply_notice' ) )
Source Reference:
-
add_action( 'manage_' . $this->post_type . '_posts_custom_column', array( $this, 'replies_column_data' ), 10, 2 ); add_filter( 'post_row_actions', array( $this, 'replies_row_actions' ), 10, 2 ); // Reply metabox actions add_action( 'add_meta_boxes', array( $this, 'reply_attributes_metabox' ) ); add_action( 'save_post', array( $this, 'reply_attributes_metabox_save' ) ); // Check if there are any bbp_toggle_reply_* requests on admin_init, also have a message displayed add_action( 'bbp_admin_init', array( $this, 'toggle_reply' ) ); add_action( 'admin_notices', array( $this, 'toggle_reply_notice' ) ); // Anonymous metabox actions add_action( 'add_meta_boxes', array( $this, 'author_metabox' ) ); add_action( 'save_post', array( $this, 'author_metabox_save' ) ); // Add ability to filter topics and replies per forum add_filter( 'restrict_manage_posts', array( $this, 'filter_dropdown' ) ); add_filter( 'request', array( $this, 'filter_post_rows' ) ); }
-