Home/Hooks/add_inline_data
ACTION

add_inline_data

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

wp-admin/includes/template.php
Line 395
2 Parameters
View Source

Usage

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

Action Callback:

function your_callback_function( $post, $post_type_object ) {
    // Your code here
    
}

Parameters

$post

Parameter 1

$post_type_object

Parameter 2

⚡ Action Hook

Action hooks allow you to insert custom code at specific points during WordPress execution. Actions do not return any values.