Core Function
View Source on Trac ↗ extract_from_markers()
extract_from_markers( mixed $filename, mixed $marker ) Extracts strings from between the BEGIN and END markers in the .htaccess file.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $filename string | Filename to extract the strings from. Required |
| $marker string | The marker to extract the strings from. Required |
Return Value
(string[])
An array of strings from a file (.htaccess) from between BEGIN and END markers.
Function Information
Since Version
1.5.0
Source File
wp-admin/includes/misc.php
Advertisement