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', 'action_function_name_1264', 10, 2 ); function action_function_name_1264( $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 | Введена. |
Где вызывается хук
add_inline_data
wp-admin/includes/template.php 387
do_action( 'add_inline_data', $post, $post_type_object );