filtrod 3.1.0
force_filtered_html_on_import
Opis — z kodu źródłowego
Filters whether to filter imported data through kses on import.
Multisite uses this hook to filter all data through kses by default, as a super administrator may be assisting an untrusted user.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$force | bool | Whether to force data to be filtered through kses. Default false. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'force_filtered_html_on_import', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'force_filtered_html_on_import', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii