Title: insert_with_markers_inline_instructions
Published: November 12, 2019
Last modified: May 20, 2026

---

# apply_filters( ‘insert_with_markers_inline_instructions’, string[] $instructions, string $marker )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/insert_with_markers_inline_instructions/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/insert_with_markers_inline_instructions/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/insert_with_markers_inline_instructions/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/insert_with_markers_inline_instructions/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/insert_with_markers_inline_instructions/?output_format=md#wp--skip-link--target)

Filters the inline instructions inserted before the dynamically generated content.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/insert_with_markers_inline_instructions/?output_format=md#parameters)󠁿

 `$instructions`string[]

Array of lines with inline instructions.

`$marker`string

The marker being inserted.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/insert_with_markers_inline_instructions/?output_format=md#source)󠁿

    ```php
    $instructions = apply_filters( 'insert_with_markers_inline_instructions', $instructions, $marker );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/misc.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-admin/includes/misc.php#L164)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/misc.php#L164-L164)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/insert_with_markers_inline_instructions/?output_format=md#related)󠁿

| Used by | Description | 
| [insert_with_markers()](https://developer.wordpress.org/reference/functions/insert_with_markers/)`wp-admin/includes/misc.php` |

Inserts an array of strings into a file (.htaccess), placing it between BEGIN and END markers.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/insert_with_markers_inline_instructions/?output_format=md#changelog)󠁿

| Version | Description | 
| [5.3.0](https://developer.wordpress.org/reference/since/5.3.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Finsert_with_markers_inline_instructions%2F)
before being able to contribute a note or feedback.