Controls_Manager::SELECT, 'default' => 'authenticated', 'label_block' => true, 'options' => [ 'authenticated' => __( 'Logged in', 'elementor-extras' ), ], ]; } /** * Check condition * * @since 2.2.0 * * @access public * * @param string $name The control name to check * @param string $operator Comparison operator * @param mixed $value The control value to check */ public function check( $name = null, $operator, $value ) { return $this->compare( is_user_logged_in(), true, $operator ); } }