INVP::settings()

settings


Description Description

Get this plugin's option mingled with default values.


Top ↑

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_carfax_provided_buttons' => true,
		);
		return wp_parse_args( get_option( self::OPTION_NAME ), $defaults );
	}