insert_with_markers_inline_instructions хук-фильтрWP 5.3.0

Filters the inline instructions inserted before the dynamically generated content.


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;
Array of lines with inline instructions.
The marker being inserted.

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

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

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

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

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

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