filtrod 6.3.0
wp_min_priority_img_pixels
Opis — z kodu źródłowego
Filters the minimum square-pixels threshold for an image to be eligible as the high-priority image.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$threshold | int | Minimum square-pixels threshold. Default 50000. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'wp_min_priority_img_pixels', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'wp_min_priority_img_pixels', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii