[wp-hackers] Filter: rewrite_rules_array

Jason Webster jason at intraffic.net
Thu Jun 5 16:48:57 GMT 2008


Thank you Andy and DD32.
I forgot about that.


DD32 wrote:
> The filter would only be fired when the rules are regenerated.
>
> See the last function in this: 
> http://dd32.id.au/files/wordpress/test-rewrite.php 


Andy Skelton wrote:
>
> You have to trigger flush_rules. Changing your permalink structure or
> saving a page will do it.
>
> Cheers,
> Andy
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>   



More information about the wp-hackers mailing list