Inventory_Presser_Additional_Listings_Pages::additional_listings_pages_array()

additional_listings_pages_array


Description Description

Makes it easy to get the additional listings pages saved settings.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/class-additional-listings-pages.php

	public static function additional_listings_pages_array()
	{
		//Are there additional listings pages configured?
		$settings = INVP::settings();
		if( ! empty( $settings['additional_listings_page'] )
			&& $settings['additional_listings_page']
			&& ! empty( $settings['additional_listings_pages'] ) )
		{
			return $settings['additional_listings_pages'];
		}
		return array();
	}