Open Shelob9 opened 4 years ago
memo to self: the references to admin-ajax are the webhook endpoints for helpdesks.
eg:
add_action( 'wp_ajax_' . self::slug . '_webhook', array( $this, 'webhook_endpoint' ) );
add_action( 'wp_ajax_nopriv_' . self::slug . '_webhook', array( $this, 'webhook_endpoint' ) );
Move to REST API endpoints instead.
admin-ajax is not a secure. Also if I'm running an eCommerce site with WordPress, performance is probably a major concern and admin-ajax is a performance concern.