INVP::settings()

Get this plugin’s option mingled with default values.


Return Return

(array) An associative array containing this plugin’s settings


Top ↑

Source Source

File: includes/class-invp.php

	public static function settings() {
		$defaults = array(
			'skip_trash'                  => true,
			'sort_vehicles_by'            => 'make',
			'sort_vehicles_order'         => 'ASC',
			'use_arranger_gallery'        => true,
			'use_carfax'                  => false,
			'use_carfax_provided_buttons' => true,
		);
		return wp_parse_args( get_option( self::OPTION_NAME ), $defaults );
	}