extract_from_markers
extract_from_markers ( $filename, $marker )
Parameters:- (string) filename Filename to extract the strings from.
- (string) marker The marker to extract the strings from.
Returns:- (string[]) An array of strings from a file (.htaccess) from between BEGIN and END markers.
Defined at: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: —
Description
Extracts strings from between the BEGIN and END markers in the .htaccess file.