Is it okay to make a plugin to the WordPress repo, but limit it’s actions to maximum N events?

Trialware is not permitted (props @jacob): https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/#5-trialware-is-not-permitted With the only exception being Attempting to upsell the user on ad-hoc products and features is acceptable, provided it falls within bounds of guideline 11 (hijacking the admin experience). https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/#11-plugins-should-not-hijack-the-admin-dashboard Sounds like the feature must be in a separate plugin itself to be within the guidelines for submitting … Read more

jQuery Ajax not loading page with ACF fields

You are making direct calls to a PHP file in your theme, this is why you have the problem. Because WordPress didn’t handle the request, your file did, none of WordPress is loaded, and none of the plugins. There are also lots of security issues with this approach. If you need to make an AJAX … Read more