Posts by orqun

2 posts
  • Elite Author
  • Exclusive Author
  • Has been a member for 3-4 years
  • Sold between 100 000 and 250 000 dollars
  • Europe
  • Microlancer Beta Tester
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
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
  • Exclusive Author
  • Has been a member for 3-4 years
  • Sold between 100 000 and 250 000 dollars
  • Europe
  • Microlancer Beta Tester
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
orqun says

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

by
by
by
by
by
by