ID, Config::IGNORE_NOTICE, 'true', true ); # then get the options $this->options = Config::get_options(); # and view the options page ?>

', isset( $this->options['GoogleID'] ) ? esc_attr( $this->options['GoogleID']) : '' ); echo '

' . __( 'Something like UA-XXXXXXXX-X', Config::TEXT_DOMAIN ) . '

'; } /** * View HideInAdmin option callback * @return void */ public function HideInAdmin_callback() { printf( '', ( isset( $this->options['HideInAdmin'] ) && ( $this->options['HideInAdmin'] == '1' ) ) ? ' checked' : '' ); } /** * View HideForLogged option callback * @return void */ public function HideForLogged_callback() { printf( '', ( isset( $this->options['HideForLogged'] ) && ( $this->options['HideForLogged'] == '1' ) ) ? ' checked' : '' ); } /** * View IntoFooter option callback * @return void */ public function IntoFooter_callback() { printf( '', ( isset( $this->options['IntoFooter'] ) && ( $this->options['IntoFooter'] == '1' ) ) ? ' checked' : '' ); } } /** * Determine if user is in the admin area. */ if ( is_admin() ) { $options = new Options(); }