post_submitbox_minor_actions хук-событиеWP 4.4.0

Fires after the Save Draft (or Save as Pending) and Preview (or Preview Changes) buttons in the Publish meta box.

Использование

add_action( 'post_submitbox_minor_actions', 'wp_kama_post_submitbox_minor_actions_action' );

/**
 * Function for `post_submitbox_minor_actions` action-hook.
 * 
 * @param WP_Post $post WP_Post object for the current post.
 *
 * @return void
 */
function wp_kama_post_submitbox_minor_actions_action( $post ){

	// action...
}
$post(WP_Post)
WP_Post object for the current post.

Список изменений

С версии 4.4.0 Введена.

Где вызывается хук

post_submit_meta_box()
post_submitbox_minor_actions
wp-admin/includes/meta-boxes.php 97
do_action( 'post_submitbox_minor_actions', $post );

Где используется хук в WordPress

Использование не найдено.