WP_Style_Engine_Processor::add_store() – Adds a store to the processor.
You appear to be a bot. Output may be restricted
Description
Adds a store to the processor.
Usage
$WP_Style_Engine_Processor = WP_Style_Engine_Processor::add_store( $store );
Parameters
- $store
- ( WP_Style_Engine_CSS_Rules_Store ) required – The store to add.
Returns
WP_Style_Engine_Processor Returns the object to allow chaining methods.
Source
File name: wordpress/wp-includes/style-engine/class-wp-style-engine-processor.php
Lines:
1 to 15 of 15
public function add_store( $store ) { if ( ! $store instanceof WP_Style_Engine_CSS_Rules_Store ) { _doing_it_wrong( __METHOD__, __( '$store must be an instance of WP_Style_Engine_CSS_Rules_Store' ), '6.1.0' ); return $this; } $this->stores[ $store->get_name() ] = $store; return $this; }