filtrod 5.5.0
wp_update_comment_type_batch_size
Opis — z kodu źródłowego
Filters the comment batch size for updating the comment type.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$comment_batch_size | int | The comment batch size. Default 100. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'wp_update_comment_type_batch_size', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'wp_update_comment_type_batch_size', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii