Inventory_Presser_Admin_Options
On This Page
Description Description
Creates an options page in the dashboard to hold this plugin and its add-ons settings.
Methods Methods
- add_hooks — Adds hooks
- add_options_pages — Adds an options page to the dashboard to hold all this plugin’s settings.
- add_settings — Registers sections and settings using the Settings API.
- boolean_checkbox_setting_callback — Outputs HTML that renders checkboxes.
- callback_additional_listings_page — Outputs a table to manage additional inventory listing pages.
- callback_include_sold_vehicles — Outputs a checkbox control for the Include Sold Vehicles setting.
- callback_manage
- callback_manage_taxonomies — Output the controls that create the Taxonomies setting. A link to another settings page.
- callback_mapbox_public_token — Outputs a text box control for the MapBox Public Token setting
- callback_price_display — Outputs a dropdown select control for the Price Display setting
- callback_provide_templates — Outputs a checkbox control for the Provide Templates setting.
- callback_singles_contact_form — Outputs the controls that create the Singles Contact Form setting.
- callback_skip_trash — Output the controls that create the Skip Trash setting.
- callback_sort_vehicles_by — Output the controls that create the default vehicle sort setting.
- callback_taxonomies — Output the controls that create the Taxonomies settings.
- callback_use_arranger_gallery — Outputs a checkbox and label to enable the photo arranger Gallery Block feature.
- callback_use_carfax — Output the controls that create the Display Carfax Buttons setting.
- callback_use_carfax_provided_buttons — Output the controls that create the Use Carfax-provided Buttons setting.
- change_sort_by_option_values — change_sort_by_option_values
- detect_manage_vehicles_query_var — detect_manage_vehicles_query_var
- html_select_operator — Creates a dropdown select that contains logical operators.
- html_select_vehicle_keys — Get a list of all the post meta keys in our CPT. Let the user choose one as a default sort.
- maybe_flush_permalinks — If the additional listing pages settings are changed, or the switch is on and the array of pages is different, flush rewrite rules
- options_page_content — Outputs the settings page HTML content for the primary options page.
- options_page_content_taxonomies — Outputs the settings page HTML content for the taxonomies settings page.
- sanitize_options — Santitizes the user input into the options inputs before they are saved.
- sanitize_taxonomies_walker — Callback function for array_walk_recursive to sanitize taxonomies settings.
- scripts_and_styles — Registers JavaScript and CSS file that power the settings page.
- settings_section_content_taxonomies — Outputs some instructions for the Taxonomies settings page.
- taxonomies_setting_default — Creates a default value for the `taxonomies` key stored in the option.