Core Function
View Source on Trac ↗ insert_with_markers()
insert_with_markers( mixed $filename, mixed $marker, mixed $insertion ) Inserts an array of strings into a file (.htaccess), placing it between
Parameters 3 required
| Name / Type | Description |
|---|---|
| $filename string | Filename to alter. Required |
| $marker string | The marker to alter. Required |
| (array | | string) $insertion The new content to insert. Required |
Return Value
(bool)
True on write success, false on failure.
Function Information
Since Version
1.5.0
Source File
wp-admin/includes/misc.php
Advertisement