on ) { $config['conditions'][ $condition->get_name() ] = $condition->get_config(); } $config['groups'] = $this->get_groups(); $config['show_cache_notice'] = $this->display_conditions_module->get_component( 'cache_notice' )->should_show_notice(); return $config; } public function register_conditions() { $conditions = self::CONDITIONS; foreach ( $conditions as $condition ) { $this->register_condition( $condition ); } /** * Elementor display conditions registration. * * Fires when a new display condition is registered. This hook allows developers * to register new display conditions using register_condition_instance(). * * @param Conditions_Manager $this An instance of conditions manager. */ do_action( 'elementor/display_conditions/register', $this ); } }