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
$postParameter 1
$post_type_objectParameter 2
⚡ Action Hook
Action hooks allow you to insert custom code at specific points during WordPress execution. Actions do not return any values.