WP_Style_Engine_CSS_Declarations::remove_declaration() – Removes a single declaration.

You appear to be a bot. Output may be restricted

Description

Removes a single declaration.

Usage

$WP_Style_Engine_CSS_Declarations = WP_Style_Engine_CSS_Declarations::remove_declaration( $property );

Parameters

$property
( string ) required – The CSS property.

Returns

WP_Style_Engine_CSS_Declarations Returns the object to allow chaining methods.

Source

File name: wordpress/wp-includes/style-engine/class-wp-style-engine-css-declarations.php


Lines:

1 to 5 of 5
  public function remove_declaration( $property ) {
    unset( $this->declarations[ $property ] );
    return $this;
  }
 

 View on GitHub View on Trac