Created
February 2, 2022 11:21
-
-
Save MjHead/01b54bbbe51bae8abb015ee5c5a6930f to your computer and use it in GitHub Desktop.
JetEngine. Replace URL of ajax callback to get Listing items
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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