Skip to content

Instantly share code, notes, and snippets.

@MjHead
Created February 2, 2022 11:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MjHead/01b54bbbe51bae8abb015ee5c5a6930f to your computer and use it in GitHub Desktop.
Save MjHead/01b54bbbe51bae8abb015ee5c5a6930f to your computer and use it in GitHub Desktop.
JetEngine. Replace URL of ajax callback to get Listing items
<?php
add_filter( 'jet-engine/listings/ajax-listing-url', function( $url ) {
return esc_url( admin_url( 'admin-ajax.php' ) );
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment