WP_Style_Engine_CSS_Declarations::remove_declaration
Removes a single declaration.
Метод класса: WP_Style_Engine_CSS_Declarations{}
Хуков нет.
Возвращает
WP_Style_Engine_CSS_Declarations. Returns the object to allow chaining methods.
Использование
$WP_Style_Engine_CSS_Declarations = new WP_Style_Engine_CSS_Declarations(); $WP_Style_Engine_CSS_Declarations->remove_declaration( $property );
- $property(строка) (обязательный)
- The CSS property.
Список изменений
| С версии 6.1.0 | Введена. |
Код WP_Style_Engine_CSS_Declarations::remove_declaration() WP Style Engine CSS Declarations::remove declaration WP 6.9
public function remove_declaration( $property ) {
unset( $this->declarations[ $property ] );
return $this;
}