[wp-hackers] Filter: rewrite_rules_array
jason at intraffic.net
Thu Jun 5 20:51:23 GMT 2008
So, if I need rule to be matched first, I'll need to array_unshift() it
onto the rules array, instead of appending it.
Andy Skelton wrote:
> On Thu, Jun 5, 2008 at 3:07 PM, Jason Webster <jason at intraffic.net> wrote:
>> Could you explain the precedence of the rewrite rules? I would image that
>> they would be ascending, so rules added last are checked first, but that
>> doesn't seem to be the case.
> They are processed by a foreach in WP::parse_request()
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers