WP_Style_Engine_CSS_Declarations::remove_declarations( string[] $properties = array() ): WP_Style_Engine_CSS_Declarations

In this article

Removes multiple declarations.

Parameters

$propertiesstring[]optional
An array of properties.

Default:array()

Return

WP_Style_Engine_CSS_Declarations Returns the object to allow chaining methods.

Source

public function remove_declarations( $properties = array() ) {
	foreach ( $properties as $property ) {
		$this->remove_declaration( $property );
	}
	return $this;
}

Changelog

VersionDescription
6.1.0Introduced.

User Contributed Notes

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