Custom theme hooks / filters – passing arguments

If you want theme_content hook to run with arguments that you pass to theme_content() function you need to write it like this:

function theme_content($args) {

   do_action('theme_content', $args);
}

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)