Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Inventory_Presser_Plugin::find_theme_stylesheet_handle()

find_theme_stylesheet_handle


Description Description

Finds the registered handle of the active theme's stylesheet.


Top ↑

Return Return

(string|null) The stylesheet handle or null if there is no stylesheet


Top ↑

Source Source

File: inventory-presser.php

	/**
	 * generate_rewrite_rules
	 * 
	 * Generate every possible combination of rewrite rules, including paging, based on post type taxonomy
	 * @see http://thereforei.am/2011/10/28/advanced-taxonomy-queries-with-pretty-urls/
	 *
	 * @param  string $post_type
	 * @param  array $query_vars
	 * @return void
	 */
	function generate_rewrite_rules( $post_type, $query_vars = array() )
	{
		global $wp_rewrite;