filtrod 2.5.0
gallery_style
Opis — z kodu źródłowego
Filters the default gallery shortcode CSS styles.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$gallery_style | string | Default CSS styles and opening HTML div container for the gallery shortcode output. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'gallery_style', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'gallery_style', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii