Inventory_Presser_Options::boolean_checkbox_setting_callback( string $setting_name, string $checkbox_label )

boolean_checkbox_setting_callback


Description Description

Outputs HTML that renders checkboxes.


Top ↑

Parameters Parameters

$setting_name

(string) (Required) The name of the setting and control

$checkbox_label

(string) (Required) The checkbox label that the user sees


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class-dealership-options.php

		/**
		 * Create an additional inventory archive at pmgautosales.com/[cash-deals]
		 * that contains vehicles that have a value for field [Down Payment]
		 */
		add_settings_field(
			'additional_listings_page', // id
			__( 'Additional Listings Page', 'inventory-presser' ), // title
			array( $this, 'callback_additional_listings_page' ), // callback
			'dealership-options-admin', // page
			'dealership_options_section_listings' // section
		);