token_name = $token_name; $this->token_at = $token_at; $this->token = $token; $this->stack_of_open_elements = $stack_of_open_elements; $this->active_formatting_elements = $active_formatting_elements; } } detection = 'FusionLibrary\Device_Detection'; } else { $this->detection = 'Automattic\Jetpack\Device_Detection'; } } /** * Returns is mobile. * * @access public * @since 3.4 * @return boolean */ public function is_mobile() { return apply_filters( 'awb_device_detection_is_mobile', call_user_func( [ $this->detection, 'is_phone' ] ) ); } /** * Returns is tablet. * * @access public * @since 3.4 * @return boolean */ public function is_tablet() { return apply_filters( 'awb_device_detection_is_tablet', call_user_func( [ $this->detection, 'is_tablet' ] ) ); } } /* Omit closing PHP tag to avoid 'Headers already sent' issues. */