Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Add Friend, javascript override

@simonwillan

Participant

Okay case solved.

I added another action to after_setup_theme() at priority 20 for registering more ajax actions. Created a custom ajax.php script and required it in the FIRST after_setup_theme() hook for my custom template.

Created a test action of 'addremove_friend' => 'custom_ajax_addremove_friend' and echo’d test content. All works as expected 🙂

Skip to toolbar