Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: hooking a function makes mysql query to return empty

function do_action($tag, $arg = '')

do_action() has an arguments variable as it’s 2nd argument, sorry for not being clearer. That’s passed when it runs an action function and if nothing is passed, it defaults to an empty string.

$bb_table_prefix would be the prefix for the bbPress tables though, wouldn’t it? In the case of a WP/bbP integration, the bbPress user data is stored in the WordPress user tables, so those aren’t under the same prefix as the bbPress tables. Unless it changes automatically for WordPress user tables somehow?

Skip to toolbar