WPINC_comment.php Notes - WordPress-Thinstall/wordpress-develop GitHub Wiki

interface CommentInterface {
    function check_comment($author, $email, $url, $comment, $user_ip, $user_agent, $comment_type);
    function get_approved_comments( $post_id, $args = array() );
    function get_comment( &$comment = null, $output = OBJECT );
    function get_comments( $args = '' );
    function get_comment_statuses();
    function get_default_comment_status( $post_type = 'post', $comment_type = 'comment' );
    function get_lastcommentmodified( $timezone = 'server' );
    function get_comment_count( $post_id = 0 );
    function add_comment_meta($comment_id, $meta_key, $meta_value, $unique = false);
    function delete_comment_meta($comment_id, $meta_key, $meta_value = '');
    function get_comment_meta($comment_id, $key = '', $single = false);
    function update_comment_meta($comment_id, $meta_key, $meta_value, $prev_value = '');
    function wp_queue_comments_for_comment_meta_lazyload( $comments );
    function wp_set_comment_cookies($comment, $user);
    function sanitize_comment_cookies();
    function wp_allow_comment( $commentdata, $avoid_die = false );
    function check_comment_flood_db();
    function wp_check_comment_flood( $is_flood, $ip, $email, $date, $avoid_die = false );
    function separate_comments(&$comments);
    function get_comment_pages_count( $comments = null, $per_page = null, $threaded = null );
    function get_page_of_comment( $comment_ID, $args = array() );
    function wp_get_comment_fields_max_lengths();
    function wp_check_comment_data_max_lengths( $comment_data );
    function wp_blacklist_check($author, $email, $url, $comment, $user_ip, $user_agent);
    function wp_count_comments( $post_id = 0 );
    function wp_delete_comment($comment_id, $force_delete = false);
    function wp_trash_comment($comment_id);
    function wp_untrash_comment($comment_id);
    function wp_spam_comment( $comment_id );
    function wp_unspam_comment( $comment_id );
    function wp_get_comment_status($comment_id);
    function wp_transition_comment_status($new_status, $old_status, $comment);
    function _clear_modified_cache_on_transition_comment_status( $new_status, $old_status );
    function wp_get_current_commenter();
    function wp_insert_comment( $commentdata );
    function wp_filter_comment($commentdata);
    function wp_throttle_comment_flood($block, $time_lastcomment, $time_newcomment);
    function wp_new_comment( $commentdata, $avoid_die = false );
    function wp_new_comment_notify_moderator( $comment_ID );
    function wp_new_comment_notify_postauthor( $comment_ID );
    function wp_set_comment_status($comment_id, $comment_status, $wp_error = false);
    function wp_update_comment($commentarr);
    function wp_defer_comment_counting($defer=null);
    function wp_update_comment_count($post_id, $do_deferred=false);
    function wp_update_comment_count_now($post_id);
    
    function discover_pingback_server_uri( $url, $deprecated = '' );
    function do_all_pings();
    function do_trackbacks( $post_id );
    function generic_ping( $post_id = 0 );
    function pingback( $content, $post_id );
    function privacy_ping_filter($sites);
    function trackback($trackback_url, $title, $excerpt, $ID);
    function weblog_ping($server = '', $path = '');
    function pingback_ping_source_uri( $source_uri );
    function xmlrpc_pingback_error( $ixr_error );
    
    function clean_comment_cache($ids);
    function update_comment_cache( $comments, $update_meta_cache = true );
    function _prime_comment_caches( $comment_ids, $update_meta_cache = true );
    
    function _close_comments_for_old_posts( $posts, $query );
    function _close_comments_for_old_post( $open, $post_id );
    function wp_handle_comment_submission( $comment_data );
}