[wp-hackers] add_rewrite_rule error

Daniel Torreblanca regulatethis at gmail.com
Tue May 13 02:30:21 GMT 2008


On Mon, May 12, 2008 at 10:14 PM, HonDev Developer
<developerhondev at gmail.com> wrote:
> Hi I'm trying to add a rewrite rule for a plugin but get this error:
>
>  'Call to a member function add_rule() on a non-object'
>
>  Is there a best way to implement this function?
>
>  Any help much appreciated.

How are you calling the function? Post a couple of lines of your code...


More information about the wp-hackers mailing list