reset_header_image example



        if ( empty( $_POST ) ) {
            return;
        }

        $this->updated = true;

        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;
        }

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