How could I create real-time filtering in this case?

As third-party plugin/library recommendations are not on-topic on this StackExchange, the next best option is a code-based solution. If you can describe why you can’t use a code-based solution I could possibly provide a better answer. You can accomplish this using some simple JavaScript event listeners on the <select> element. This would require you to … Read more

WordPress Insert line in DB when clicking a button

There are many problems here. Resolving one leads to another. Uncaught ReferenceError: response is not defined In your JavaScript code, you set the success key to a function function (data) { $(“#result”).html(response); } response is not defined. The callback has a function parameter of data, not response. This causes the error. .html(…) sets the HTML … Read more

How to use: WP_AJAX_GET_COMMENTS

It is being used under wp-admin/js/post.js the function commentsBox.get. The purpose is to get Post comments. The UI related to it should be shown under the Comments page of WordPress. Though if you will further check the code, the selectors aren’t present there. So there’s no way you could use it just by calling out … Read more