filtrod 1.5.0
mod_rewrite_rules
Opis — z kodu źródłowego
Filters the list of rewrite rules formatted for output to an .htaccess file.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$rules | string | mod_rewrite Rewrite rules formatted for .htaccess. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'mod_rewrite_rules', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'mod_rewrite_rules', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii