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 the function.
Related Posts:
- comments_template() doesn’t work with ajax call
- Ajax call always returns 0
- 400 bad request on admin-ajax.php only using wp_enqueue_scripts action hook
- Remove Comments Metabox but still allow comments
- wp_get_attachment_image returns different image size
- AJAX handler throws 400 (Bad request) – why?
- ajax live search for post title
- change the comment time output to: X time ago instead of actual date and time
- How to get comments with mixed status using get_comments?
- How to prevent deleting of comments when deleting a post
- disable comments if array exists
- Display random text from a file with the WP built-in AJAX API
- Remove “says” from comments
- Display the number of user comments
- Using email_exists() wp function in an ajax request
- How can I rename the WordPress AJAX URL? [duplicate]
- Most efficient way to get custom database records from 20 buttons and 20 tables?
- Display a function using AJAX
- How do I call wp_mail from HTML?
- Unable to get_the_content(); of a post in WordPress via AJAX
- Comments to only be seen by their author
- Ajaxing function in widget class
- Search user metadata with checkboxes via ajax (almost working)
- woocommerce target button with class after ajax update
- ‘is’ functions and ‘get_query_var’ not working
- Show top commenters without using a plugin
- Ajax not working properly
- Change the HTML of the comment form that is generating somewhere from the core WordPress
- Commenter should see only his comments in wordpress
- WP Ajax Function Always Returning undefined
- Scripts not appending to element in AJAX call – why?
- Filter out other users comments. Visualize only own comments and editor role users’ comments
- Search filter by Post title OR Meta Title Value [duplicate]
- admin-ajax.php + load-scripts.php hanging for minutes
- How to know which ajax file or function is called for action
- Multisite Ajax serialize return error [object Object]
- Create post using Ajax
- Where to add the permalink in this function?
- Incorrect redirect after commenting
- comments_popup_link without echo?
- Getting comment count per post not working
- Wp admin – Set default value to 999 in comments
- What is the Difference in bones_comments() and comments.php
- wordpress use single ajax in place of multiple ajax requests in a smarter way
- AJAX error handling for submit function in functions file
- echo custom fields with AJAX
- Dequeue script to prevent javascript event conflict on wordpress child theme
- PHP 7.1 | Warning: A non-numeric value encountered in
- Check if a value exists in database table
- How to use get_posts() function in functions.php
- Are innerHTML elements visible to jQuery functions?
- Ajax resetting my global variable
- contact form in template with jquery,validate and ajax
- WordPress comment_form() does not display actual comments
- Get URLs for AJAX Filter Checkboxes WordPress
- Message notification for user
- Woocommerce Variable Product Dropdown for Custom Shop Template
- WordPress comment processing . Default unapproved comments detection before posting
- Detect Ajax call inside pre_get_posts function
- How do I change where “You must be logged in to comment” directs users?
- Populate Product Regular Price with a calculated ACF Field Value
- post value to function with Ajax and jQuery
- price of product can’t return when get data of product in functions.php
- Remove nofollow from internal comment links via functions.php
- How can I automatically delete comments that contain a URL?
- Warning and fatal error
- Using AJAX on frontend: Synchronous XMLHttpRequest deprecation except for admin role
- How to use `foreach()` in ajax call
- i can’t use wordpress functions in ajax loaded php file
- Multiple Notifications SetInterval
- WordPress Ajaxifying not working properly
- Comment function for page
- How to identify author in wordpress comments?
- Load scripts into an AJAX div
- Load scripts into an AJAX div
- admin-ajax.php & my wp-admin folder url showing in header
- wordpress function through ajax not being called
- same get_posts function works diffrently in tag.php and functions.php
- Automatic add space if user enters number(any digit)
- functions.php filters not applied in AJAX call
- Pass max posts to Javascript
- Getting error while trying to use custom comment function
- Error function main() is a non-object to construct my Ajax.php
- Increase Comment Author Gravatar Size On WordPress Default Comment Function
- Custom Nested WordPress Comments with avatar
- admin-ajax.php nulls all php variables
- Pass jquery var to a function in functions.php
- Undo a function that is not (seemingly) hooked to an action?
- Syntax for a function in order to get post’s title in JSON encoded response [closed]
- Comment Function
- WP Custom Comment Callback Not Responding
- How to remove “login to reply” from individual comments [duplicate]
- Why wp_ajax hooks doesn’t work?
- AJAX values converted to PHP Variables?
- Getting full code of wp_list_comments instead of replacing it
- How can I json_encode the output of my function?
- User’s Comments Number: Storing it in a meta field for different uses
- Add functionality to block comment authors in the Comment edit pag
- iOS and ajaxComplete
- WP backend, Show only own comments (give to users who wrote/published/assigned) posts