Actions

See the WordPress Codex "Action" reference (http://goo.gl/zo5vY) for a more complete list.

admin_init

Runs at the beginning of every admin page before the page is rendered. If you need to display data to the admin users, this is a great action to hook into.

admin_menu

Runs after the basic admin panel menu structure is in place. Hook into this action when adding your own custom menu items.

Example:

add_action('admin_menu', 'ContentRotator::add_menu_item');

do_meta_boxes

Runs as meta boxes are being constructed in the manager. Meta boxes are any "extra" bit of data displayed, for example, custom fields on a post edit page.

Example:

add_action( 'do_meta_boxes', 'StandardizedCustomContent::remove_default_custom_fields', 10, 3 );

init

Runs after WordPress ...

Get WordPress 3 Plugin Development Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.