add_inline_data хук-событиеWP 4.9.8

Fires after outputting the fields for the inline editor for posts and pages.

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

add_action( 'add_inline_data', 'wp_kama_add_inline_data_action', 10, 2 );

/**
 * Function for `add_inline_data` action-hook.
 * 
 * @param WP_Post      $post             The current post object.
 * @param WP_Post_Type $post_type_object The current post's post type object.
 *
 * @return void
 */
function wp_kama_add_inline_data_action( $post, $post_type_object ){

	// action...
}
$post(WP_Post)
The current post object.
$post_type_object(WP_Post_Type)
The current post's post type object.

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

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

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

get_inline_data()
add_inline_data
wp-admin/includes/template.php 395
do_action( 'add_inline_data', $post, $post_type_object );

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

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