Skip to content

Instantly share code, notes, and snippets.

Michael Van Winkle mikevanwinkle

View GitHub Profile
View ajax-action.php
add_action( 'wp_ajax_nopriv_ajax_pagination', 'my_ajax_pagination' );
add_action( 'wp_ajax_ajax_pagination', 'my_ajax_pagination' );
function my_ajax_pagination() {
echo get_bloginfo( 'title' );
die();
}
You can’t perform that action at this time.