WP_Style_Engine_CSS_Declarations::__construct() – Constructor for this object.
You appear to be a bot. Output may be restricted
Description
Constructor for this object.
If a $declarations
array is passed, it will be used to populate the initial $declarations prop of the object by calling add_declarations().
Usage
WP_Style_Engine_CSS_Declarations::__construct( $declarations );
Parameters
- $declarations
- ( string[] ) optional – An associative array of CSS definitions, e.g., array( "$property" => "$value", "$property" => "$value" ).
Returns
void
Source
File name: wordpress/wp-includes/style-engine/class-wp-style-engine-css-declarations.php
Lines:
1 to 4 of 4
public function __construct( $declarations = array() ) { $this->add_declarations( $declarations ); }