[wp-hackers] Custom Post Type

Austin Matzko if.website at gmail.com
Mon Jan 28 21:36:56 GMT 2008

On Jan 28, 2008 4:24 PM, Dan Larkin <nitephire at gmail.com> wrote:
> Well, the filter is just two lines.  The first is the replacement line, now
> with str_replace instead of eregi_replace (thanks for the speed tip).  The
> second is 'return $where;'.  That's it.  Is there something I'm forgetting?
> Again, I'm new to using hooks.

I tried your example, and it worked fine.

When I can't figure out stuff like this, I activate Ryan Boren's dump
environment plugin[1].  It will show you the final database query so
you can see exactly what's going wrong.

[1] http://wordpress.org/extend/plugins/dump_env/

More information about the wp-hackers mailing list