Jump to content

Search the Community

Showing results for tags 'ad action'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 1 result

  1. Hooker

    Okay, so, this is a WP question of sorts, but it also applies to PL, because I think it's related to the Hooker. Undoubtedly my fault. So, here goes: PHP Warning: call_user_func_array() [<a href='function.call-user-func-array'>function.call-user-func-array</a>]: First argument is expected to be a valid callback, 'google_leaderboard_ad' was given in /home1/suzytest/public_html/wp-includes/plugin.php on line 406 line 406 call_user_func_array($the_['function'], array_slice($args, 0, (int) $the_['accepted_args'])); after digging around, i found that it is calling wp-content/plugins/pagelines-customize/functions.php */ add_action('pagelines_inside_top_branding', 'google_leaderboard_ad'); i know that this is the problem, but when i try to remove the above i can't access site. which part of the above do i remove? also, this is weird because i used hooker to put that in, and i used hooker to remove it. but, apparently, hooker did not remove it, although it seems as if it did on my admin. from the codex: "It is also worth noting that you may need to prioritise the removal of the action to a hook that occurs after the action is added. You cannot successfully remove the action before it has been added." apparently removing this action calls for more than just deleting that line in the customize/functions.php am i on the right track, and can you guide me through? thank you.
×