Inventory_Presser_Additional_Listings_Pages::additional_listings_pages_array()

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


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?
		$saved = INVP::settings()['additional_listings_pages'] ?? array( array() );
		if ( null === $saved || array() === $saved ) {
			return array( array() );
		}
		return $saved;
	}