got_url_rewrite filter-hookWP 3.7.0

Filters whether URL rewriting is available.

Usage

add_filter( 'got_url_rewrite', 'wp_kama_got_url_rewrite_filter' );

/**
 * Function for `got_url_rewrite` filter-hook.
 * 
 * @param bool $got_url_rewrite Whether URL rewriting is available.
 *
 * @return bool
 */
function wp_kama_got_url_rewrite_filter( $got_url_rewrite ){

	// filter...
	return $got_url_rewrite;
}
$got_url_rewrite(true|false)
Whether URL rewriting is available.

Changelog

Since 3.7.0 Introduced.

Where the hook is called

got_url_rewrite()
got_url_rewrite
wp-admin/includes/misc.php 56
return apply_filters( 'got_url_rewrite', $got_url_rewrite );

Where the hook is used in WordPress

Usage not found.