Not a hook as such.. But, that seems a bit odd question to me, If they're not
turned on, then they're turned off correct?
//Are we using permalinks?
global $wp_rewrite;
if( ! $wp_rewrite || ! $wp_rewrite->using_permalinks() ){
//No Permalinks
} else {
//Permalinks are enabled
}
On Mon, 03 Dec 2007 12:44:28 +1100, Dan Milward <[EMAIL PROTECTED]> wrote:
> Is there a hook to check when the administrator turns permalinks off.
> There is for checking when they are turned on or changed which is handy
> when making our own rewrite rules - but some things will need to be
> changed when permalinks are turned off....
>
> We can find no plugin hooks to do this currently.
>
> Ciao,
>
> Dan
> _______________________________________________
> wp-testers mailing list
> [email protected]
> http://lists.automattic.com/mailman/listinfo/wp-testers
>
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers