Posts by orqun

2 posts
  • Trendsetter
  • Weekly Top Seller
  • Elite Author
  • Exclusive Author
+5 more
orqun
says

Hi Ant,

If the “theme_save” function is a sub-function of a class, it has to be called within the class when adding to “wp_ajax_” hook.

Ex: add_action( ‘wp_ajax_theme_save_ajax’, array(&$yourClass, ‘theme_save’) );

http://us2.php.net/manual/en/language.pseudo-types.php#language.types.callback

Regards, Orkun

2 posts
  • Trendsetter
  • Weekly Top Seller
  • Elite Author
  • Exclusive Author
+5 more
orqun
says

Thanks so much for your kindly mention. I really appreciate it. :)

by
by
by
by
by
by