insert_with_markers_inline_instructions filter-hookWP 5.3.0

Filters the inline instructions inserted before the dynamically generated content.

Usage

add_filter( 'insert_with_markers_inline_instructions', 'wp_kama_insert_with_markers_inline_instructions_filter', 10, 2 );

/**
 * Function for `insert_with_markers_inline_instructions` filter-hook.
 * 
 * @param string[] $instructions Array of lines with inline instructions.
 * @param string   $marker       The marker being inserted.
 *
 * @return string[]
 */
function wp_kama_insert_with_markers_inline_instructions_filter( $instructions, $marker ){

	// filter...
	return $instructions;
}
$instructions(string[])
Array of lines with inline instructions.
$marker(string)
The marker being inserted.

Changelog

Since 5.3.0 Introduced.

Where the hook is called

insert_with_markers()
insert_with_markers_inline_instructions
wp-admin/includes/misc.php 164
$instructions = apply_filters( 'insert_with_markers_inline_instructions', $instructions, $marker );

Where the hook is used in WordPress

Usage not found.