SHARE
TWEET

Untitled

a guest Aug 20th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_action('wp_ajax_get_homepage', 'get_homepage');
  2. add_action('wp_ajax_nopriv_get_homepage', 'get_homepage');
  3.  
  4. function get_homepage(){
  5.     echo "get_homepage ->";
  6.     exit();
  7. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top