发新话题
打印

[问题求助] add_action是如何传递参数的呢?

add_action是如何传递参数的呢?

add_action('comment_post', create_function('$a', 'global $sg_subscribe; sg_subscribe_start();
return $sg_subscribe->send_notifications($a);'), 50);
这里是添加comment_post的函数触发一个anonymous数,但这个anonymous函数是如何接收传递参数的呢?

TOP

好深奥,还是喊高手吧
http://bipabo.com/期待和您的链接

TOP

发新话题