' . esc_html( $message ) . '
'; delete_transient( 'ttdvr_settings_message' ); delete_transient( 'ttdvr_settings_status' ); } // RETRIEVE CURRENT SETTINGS $all_categories = get_terms( array( 'taxonomy' => 'ttdvr_doc_category', 'hide_empty' => false ) ); $default_cats = array(); if ( ! empty( $all_categories ) && ! is_wp_error( $all_categories ) ) { foreach ( $all_categories as $cat ) { $default_cats[] = $cat->term_id; } } $active_cats = get_option( 'ttdvr_public_categories', $default_cats ); $show_pdf = get_option( 'ttdvr_show_pdf_link', 'yes' ); $search_label = get_option( 'ttdvr_search_label', 'Enter Document ID / Reference Number / Certificate ID:' ); // Retrieve Color Settings $bg_color = get_option( 'ttdvr_bg_color', '#088599' ); $btn_color = get_option( 'ttdvr_btn_color', '#0073aa' ); $btn_hover_color = get_option( 'ttdvr_btn_hover_color', '#005177' ); // NEW ?>