remove_header_image example

if ( isset( $_POST['resetheader'] ) ) {
            check_admin_referer( 'custom-header-options', '_wpnonce-custom-header-options' );

            $this->reset_header_image();

            return;
        }

        if ( isset( $_POST['removeheader'] ) ) {
            check_admin_referer( 'custom-header-options', '_wpnonce-custom-header-options' );

            $this->remove_header_image();

            return;
        }

        if ( isset( $_POST['text-color'] ) && ! isset( $_POST['display-header-text'] ) ) {
            check_admin_referer( 'custom-header-options', '_wpnonce-custom-header-options' );

            set_theme_mod( 'header_textcolor', 'blank' );
        } elseif ( isset( $_POST['text-color'] ) ) {
            check_admin_referer( 'custom-header-options', '_wpnonce-custom-header-options' );

            
Home | Imprint | This part of the site doesn't use cookies.