Posts by orqun

2 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+4 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
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+4 more
orqun says

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

by
by
by
by
by
by