WP_Style_Engine_CSS_Declarations::remove_declaration( string $property ): WP_Style_Engine_CSS_Declarations

In this article

Removes a single declaration.

Parameters

$propertystringrequired
The CSS property.

Return

WP_Style_Engine_CSS_Declarations Returns the object to allow chaining methods.

Source

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

Changelog

VersionDescription
6.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.