WordPress | comment PHP タグ リスト・一覧 | function コードリファレンス

コメントオブジェクトを指定してコメントデータを取得します。 コア コメント API functionsのリストと各 Core Comment API functions タグの説明と使い方。

comment.phpファイルは wp-includes ディレクトリに保存されています。

comment.php タグリスト

comment.php

WordPress comment.php タグ リスト

wp-includes/comment.php

コード説明タイプ
_clear_modified_cache_on_ transition_comment_status()_clear_modified_cache_on_transition_comment_status() とは、コメントのステータスが変更されたときに、lastcommentmodifiedキャッシュされた値をクリアします。comment.php : 1621functions
_close_comments_for_old_post()_close_comments_for_old_post() とは、古い投稿のコメントを閉じます。comments_openとpings_openにつながっています。comment.php : 2872functions
_close_comments_for_old_posts()_close_comments_for_old_posts() とは、余分なDBクエリを使わずに、その場で古い投稿のコメントを閉じる。the_postsにひっかかった。comment.php : 2835functions
_prime_comment_caches()_prime_comment_caches() とは、指定されたIDのコメントを、キャッシュにまだ存在しないキャッシュに追加します。comment.php : 2810functions
add_comment_meta()add_comment_meta() とは、コメントにメタデータフィールドを追加します。comment.php : 425functions
check_comment()check_comment() とは、コメントが追加できるように内部チェックを渡すかどうかをチェックします。comment.php : 39functions
check_comment_flood_db()check_comment_flood_db() とは、 WPのネイティブデータベースベースのコメントフラッドチェックをフックします。comment.php : 778functions
clean_comment_cacheclean_comment_cache とは、オブジェクトキャッシュからコメントが削除された直後に発生します。comment.php : 2765action
clean_comment_cache()clean_comment_cache() とは、オブジェクトキャッシュからコメントを削除します。comment.php : 2754functions
close_comments_for_post_typesclose_comments_for_post_types とは、コメントを自動的に閉じるために投稿タイプのリストをフィルタリングします。comment.php : 2846hooks
comment_closedcomment_closed とは、コメントが閉じられている投稿にコメントが試行されたときに発生します。comment.php : 2981action
comment_cookie_lifetimecomment_cookie_lifetime とは、コメントクッキーの有効期間を数秒でフィルタリングします。comment.php : 529hooks
comment_flood_filtercomment_flood_filter とは、コメントのフラッドステータスをフィルタリングします。comment.php : 843hooks
comment_flood_triggercomment_flood_trigger とは、コメントのフラッドメッセージがトリガーされる前に発生します。comment.php : 853action
comment_id_not_foundcomment_id_not_found とは、存在しない投稿に対してコメントが試行されたときに発生します。comment.php : 2957action
comment_max_links_urlcomment_max_links_url とは、コメントに含まれるリンクの数をフィルタリングします。comment.php : 63hooks
comment_{$ new_status} _ {$ comment-> comment_type}comment_{$ new_status} _ {$ comment-> comment_type} とは、特定のコメントタイプのステータスが遷移しているときに発生します。comment.php : 1606action
comment_{$ old_status} _to _ {$ new_status}comment_{$ old_status} _to _ {$ new_status} とは、コメントステータスが特定のステータスから別のステータスに遷移したときに発生します。comment.php : 1590action
comment_on_draftcomment_on_draft とは、ドラフトモードで投稿にコメントが試行されたときに発生します。comment.php : 3007action
comment_on_password_protectedcomment_on_password_protected とは、パスワードで保護された投稿に対してコメントが試行されたときに発生します。comment.php : 3024action
comment_on_trashcomment_on_trash とは、ゴミ箱に投稿された投稿に対してコメントが試行されたときに発生します。comment.php : 2994action
comment_postcomment_post とは、コメントがデータベースに挿入された直後に発生します。comment.php : 1981action
comment_save_precomment_save_pre とは、コメント内容がデータベースで更新される前にフィルタリングされます。comment.php : 2169hooks
comments_clausescomments_clauses とは、コメントクエリ句をフィルタリングします。comment.php : 852hooks
delete_commentdelete_comment とは、コメントがデータベースから削除される直前に発生します。comment.php : 1291action
deleted_commentdeleted_comment とは、コメントがデータベースから削除された直後に発生します。comment.php : 1315action
do_all_pings()do_all_pings() とは、すべてのpingback、エンクロージャ、トラックバック、およびsend to pingbackサービスを実行します。comment.php : 2438functions
do_trackbacks()do_trackbacks() とは、トラックバックを実行します。comment.php : 2473functions
duplicate_comment_idduplicate_comment_id とは、新しいコメントを作成するときに見つかった重複コメントのID(存在する場合)をフィルタリングします。comment.php : 646hooks
edit_commentedit_comment とは、データベース内のコメントが更新された直後に発生します。comment.php : 2215action
generic_ping()generic_ping() とは、すべてのpingサイトサービスにpingを送信します。comment.php : 2524functions
get_approved_comments()get_approved_comments() とは、 post $ post_idの承認済みのコメントを取得します。comment.php : 145functions
get_commentget_comment とは、コメントが取得された後に発生します。comment.php : 201hooks
get_comment()get_comment() とは、コメントIDまたはコメントオブジェクトを指定してコメントデータを取得します。comment.php : 177functions
get_comment_count()get_comment_count() とは、投稿内のコメント数またはコメント数。comment.php : 352functions
get_comment_pages_count()get_comment_pages_count() とは、コメントページの総数を計算します。comment.php : 906functions
get_comment_statuses()get_comment_statuses() とは、 WordPressでサポートされているすべてのコメントステータスを取得します。comment.php : 239functions
get_comments()get_comments() とは、コメントのリストを取得します。comment.php : 224functions
get_default_comment_status()get_default_comment_status() とは、投稿タイプのデフォルトのコメントステータスを取得します。comment.php : 259functions
get_default_comment_statusget_default_comment_status とは、指定した投稿タイプのデフォルトのコメントステータスをフィルタリングします。comment.php : 290hooks
get_lastcommentmodified()get_lastcommentmodified() とは、最後のコメントが変更された日付。comment.php : 305functions
get_page_of_commentget_page_of_comment とは、コメントが表示されている計算ページをフィルターします。comment.php : 1061hooks
get_page_of_comment()get_page_of_comment() とは、コメントページングでコメントが表示されるページ番号を計算します。comment.php : 962functions
notify_post_authornotify_post_author とは、投稿者に新しいコメント通知メールを送信するかどうかをフィルタリングし、サイト設定を上書きします。comment.php : 2035hooks
pingback()pingback() とは、ポストにあるリンクをピングバックします。comment.php : 2546functions
pingback_ping_source_uri()pingback_ping_source_uri() とは、 pingbackの送信元URIを検証するためにpingback_ping_source_uriに添付されたデフォルトのフィルタcomment.php : 2721functions
pingback_useragentpingback_useragent とは、 URLにpingを実行するときに送信されるユーザエージェントをフィルタリングします。comment.php : 2624hooks
pre_comment_author_emailpre_comment_author_email とは、コメント作成者の電子メールクッキーが設定される前にフィルタリングします。comment.php : 573hooks
pre_comment_author_namepre_comment_author_name とは、コメント作成者の名前のクッキーが設定される前にフィルタリングします。comment.php : 556hooks
pre_comment_author_urlpre_comment_author_url とは、コメント作成者のURLクッキーが設定される前にフィルタリングします。comment.php : 590hooks
pre_comment_on_postpre_comment_on_post とは、コメントが投稿される前に発生します。comment.php : 3037action
pre_comment_user_ippre_comment_user_ip とは、コメント作成者のIPが設定される前にフィルタリングします。comment.php : 1823hooks
pre_get_commentspre_get_comments とは、コメントが取得される前に起動します。comment.php : 496action
pre_pingpre_ping とは、ポストにあるリンクにpingをかける直前に発生します。comment.php : 2599action
pre_user_idpre_user_id とは、コメント作成者のユーザーIDを設定する前にフィルターします。comment.php : 1792hooks
pre_wp_update_comment_count_nowpre_wp_update_comment_count_now とは、データベースの更新前に投稿のコメント数をフィルタリングします。comment.php : 2328hooks
privacy_ping_filter()privacy_ping_filter() とは、サイトを返す前にブログが公開されているかどうかを確認します。comment.php : 2642functions
sanitize_comment_cookies()sanitize_comment_cookies() とは、すでにユーザーに送信されたCookieをサニタイズします。comment.php : 544functions
separate_comments()separate_comments() とは、コメントの配列をcomment_typeをキーとする配列に区切ります。comment.php : 877functions
spam_commentspam_comment とは、コメントがスパムとしてマークされる直前に発生します。comment.php : 1441action
spammed_commentspammed_comment とは、コメントがスパムとしてマークされた直後に発生します。comment.php : 1455action
trackback()trackback() とは、トラックバックを送信します。comment.php : 2664functions
trash_commenttrash_comment とは、コメントがゴミ箱に送信される直前に発生します。comment.php : 1354action
trashed_commenttrashed_comment とは、コメントがゴミ箱に送信された直後に発生します。comment.php : 1369action
unspam_commentunspam_comment とは、コメントが迷惑メールとしてマークされる直前に発生します。comment.php : 1483action
unspammed_commentunspammed_comment とは、コメントが迷惑メールとしてマークされていない場合はすぐに起動します。comment.php : 1499action
untrash_commentuntrash_comment とは、ごみ箱からコメントが復元される直前に発生します。comment.php : 1397action
untrashed_commentuntrashed_comment とは、ごみ箱からコメントが復元された直後に発生します。comment.php : 1413action
update_comment_cache()update_comment_cache() とは、指定されたコメントのコメントキャッシュを更新します。comment.php : 2784functions
update_comment_meta()update_comment_meta() とは、コメントIDに基づいてコメントメタフィールドを更新します。comment.php : 481functions
weblog_ping()weblog_ping() とは、 pingbackを送信します。comment.php : 2696functions
wp_allow_comment()wp_allow_comment() とは、このコメントが許可されているかどうかを検証します。comment.php : 612functions
wp_blacklist_check()wp_blacklist_check() とは、コメントにブラックリストに載っている文字や単語が含まれていますか?comment.php : 1163functions
wp_blacklist_checkwp_blacklist_check とは、コメントがブラックリストに載っている文字や単語の前にテストされる前に起動します。comment.php : 1176action
wp_check_comment_data_max_lengths()wp_check_comment_data_max_lengths() とは、コメントデータの長さと最大文字数の制限を比較します。comment.php : 1128functions
wp_check_comment_flood()wp_check_comment_flood() とは、コメントのフラッディングが発生しているかどうかを確認します。comment.php : 801functions
wp_count_comments()wp_count_comments() とは、ブログまたはシングル投稿の総コメントを取得します。comment.php : 1228functions
wp_count_commentswp_count_comments とは、特定の投稿のコメント数をフィルタリングします。comment.php : 1239hooks
wp_defer_comment_counting()wp_defer_comment_counting() とは、コメントカウントを延期するかどうか。comment.php : 2235functions
wp_delete_comment()wp_delete_comment() とは、コメントを破棄または削除します。comment.php : 1276functions
wp_filter_comment()wp_filter_comment() とは、コメントデータをフィルタリングおよびサニタイズします。comment.php : 1780functions
wp_get_comment_fields_max_lengths()wp_get_comment_fields_max_lengths() とは、コメントフォームフィールドの最大文字数を取得します。comment.php : 1073functions
wp_get_comment_fields_max_lengthswp_get_comment_fields_max_lengths とは、コメントフォームフィールドの長さをフィルターに掛けます。comment.php : 1116hooks
wp_get_comment_status()wp_get_comment_status() とは、 IDによるコメントのステータス。comment.php : 1514functions
wp_get_current_commenter()wp_get_current_commenter() とは、現在のコメント作成者の名前、電子メール、およびURLを取得します。comment.php : 1641functions
wp_get_current_commenterwp_get_current_commenter とは、現在のコメント作成者の名前、電子メール、およびURLをフィルタリングします。comment.php : 1669hooks
wp_handle_comment_submission()wp_handle_comment_submission() とは、コメントの提出を処理します。通常、コメントフォームを介してwp-comments-post.phpに投稿されます。comment.php : 2922functions
wp_insert_comment()wp_insert_comment() とは、データベースにコメントを挿入します。comment.php : 1707functions
wp_insert_commentwp_insert_comment とは、コメントがデータベースに挿入された直後に発生します。comment.php : 1763action
wp_is_comment_floodwp_is_comment_flood とは、コメントがコメントの洪水の一部であるかどうかをフィルタリングします。comment.php : 704hooks
wp_new_comment()wp_new_comment() とは、データベースに新しいコメントを追加します。comment.php : 1894functions
wp_new_comment_notify_moderator()wp_new_comment_notify_moderator() とは、コメントモデレータ通知をコメントモデレータに送信します。comment.php : 1994functions
wp_new_comment_notify_postauthor()wp_new_comment_notify_postauthor() とは、投稿者に新しいコメントの通知を送信します。comment.php : 2021functions
wp_queue_comments_for_ comment_meta_lazyload()wp_queue_comments_for_comment_meta_lazyload() とは、メタデータ遅延ロードのコメントをキューに入れます。comment.php : 492functions
wp_set_comment_cookies()wp_set_comment_cookies() とは、認証されていない解説者のIDを格納するために使用されるCookieを設定します。一般的には、この解説者による以前のコメントを緩やかに保持するために使用されます。comment.php : 518functions
wp_set_comment_statuswp_set_comment_status とは、データベース内のコメントのステータスを切り替える直前に発生します。comment.php : 2114action
wp_set_comment_status()wp_set_comment_status() とは、コメントのステータスを設定します。comment.php : 2068functions
wp_spam_comment()wp_spam_comment() とは、コメントをスパムとしてマークするcomment.php : 1428functions
wp_throttle_comment_flood()wp_throttle_comment_flood() とは、コメントが洪水のためにブロックされるべきかどうか。comment.php : 1842functions
wp_trash_comment()wp_trash_comment() とは、コメントをごみ箱に移動するcomment.php : 1340functions
wp_unspam_comment()wp_unspam_comment() とは、スパムからコメントを削除するcomment.php : 1470functions
wp_untrash_comment()wp_untrash_comment() とは、ごみ箱からコメントを削除するcomment.php : 1384functions
wp_update_comment()wp_update_comment() とは、データベース内の既存のコメントを更新します。comment.php : 2135functions
wp_update_comment_count()wp_update_comment_count() とは、投稿のコメント数を更新します。comment.php : 2270functions
wp_update_comment_count_now()wp_update_comment_count_now() とは、投稿のコメント数を更新します。comment.php : 2305functions
wp_update_comment_datawp_update_comment_data とは、コメントデータがデータベースで更新される直前にフィルタリングされます。comment.php : 2195hooks
xmlrpc_pingback_error()xmlrpc_pingback_error() とは、 xmlrpc_pingback_errorに接続されているデフォルトフィルタ。comment.php : 2737functions
ソース ファイルwp-includes/comment.phpFile

WordPress バージョン 4.8.1 wp-includes

AC
admin-bar.phpclass.wp-dependencies.php
atomlib.phpclass.wp-scripts.php
author-template.phpclass.wp-styles.php
Bcomment-template.php
bookmark-template.phpcomment.php
bookmark.phpcompat.php
Ccron.php
cache.phpD
canonical.phpdate.php
capabilities.phpdefault-constants.php
category-template.phpdefault-filters.php
category.phpdefault-widgets.php
class-feed.phpdeprecated.php
class-http.phpE
class-IXR.phpembed-template.php
class-json.phpembed.php
class-oembed.phpF
class-phpass.phpfeed-atom-comments.php
class-phpmailer.phpfeed-atom.php
class-pop3.phpfeed-rdf.php
class-requests.phpfeed-rss2-comments.php
class-simplepie.phpfeed-rss2.php
class-smtp.phpfeed-rss.php
class-snoopy.phpfeed.php
class-walker-category-dropdown.phpformatting.php
class-walker-category.phpfunctions.php
class-walker-comment.phpfunctions.wp-scripts.php
class-walker-nav-menu.phpfunctions.wp-styles.php
class-walker-page-dropdown.phpG
class-walker-page.phpgeneral-template.php
class-wp-admin-bar.phpH
class-wp-ajax-response.phphttp.php
class-wp-comment-query.phpK
class-wp-comment.phpkses.php
class-wp-customize-control.phpL
class-wp-customize-manager.phpl10n.php
class-wp-customize-nav-menus.phplink-template.php
class-wp-customize-panel.phpload.php
class-wp-customize-section.phplocale.php
class-wp-customize-setting.phpM
class-wp-customize-widgets.phpmedia-template.php
class-wp-dependency.phpmedia.php
class-wp-editor.phpmeta.php
class-wp-embed.phpms-blogs.php
class-wp-error.phpms-default-constants.php
class-wp-feed-cache-transient.phpms-default-filters.php
class-wp-feed-cache.phpms-deprecated.php
class-wp-hook.phpms-files.php
class-wp-http-cookie.phpms-functions.php
class-wp-http-curl.phpms-load.php
class-wp-http-encoding.phpms-settings.php
class-wp-http-ixr-client.phpN
class-wp-http-proxy.phpnav-menu-template.php
class-wp-http-requests-hooks.phpnav-menu.php
class-wp-http-requests-response.phpO
class-wp-http-response.phpoption.php
class-wp-http-streams.phpP
class-wp-image-editor-gd.phppluggable-deprecated.php
class-wp-image-editor-imagick.phppluggable.php
class-wp-image-editor.phpplugin.php
class-wp-list-util.phppost-formats.php
class-wp-locale-switcher.phppost-template.php
class-wp-locale.phppost-thumbnail-template.php
class-wp-matchesmapregex.phppost.php
class-wp-meta-query.phpQ
class-wp-metadata-lazyloader.phpquery.php
class-wp-network-query.phpR
class-wp-network.phpregistration-functions.php
class-wp-oembed-controller.phpregistration.php
class-wp-post-type.phprest-api.php
class-wp-post.phprevision.php
class-wp-query.phprewrite.php
class-wp-rewrite.phprss-functions.php
class-wp-role.phprss.php
class-wp-roles.phpS
class-wp-session-tokens.phpscript-loader.php
class-wp-simplepie-file.phpsession.php
class-wp-simplepie-sanitize-kses.phpshortcodes.php
class-wp-site-query.phpspl-autoload-compat.php
class-wp-site.phpT
class-wp-tax-query.phptaxonomy.php
class-wp-taxonomy.phptemplate-loader.php
class-wp-term-query.phptemplate.php
class-wp-term.phptheme.php
class-wp-text-diff-renderer-inline.phpU
class-wp-text-diff-renderer-table.phpupdate.php
class-wp-theme.phpuser.php
class-wp-user-meta-session-tokens.phpV
class-wp-user-query.phpvars.php
class-wp-user.phpversion.php
class-wp-walker.phpW
class-wp-widget-factory.phpwidgets.php
class-wp-widget.phpwlwmanifest.xml
class-wp-xmlrpc-server.phpwp-db.php
class-wp.phpwp-diff.php
wp-includes/ フォルダ
wp-includes/ certificateswp-includes/ pomo
wp-includes/ csswp-includes/ random_compat
wp-includes/ customizewp-includes/ Requests
wp-includes/ fontswp-includes/ rest-api
wp-includes/ ID3wp-includes/ SimplePie
wp-includes/ imageswp-includes/ Text
wp-includes/ IXRwp-includes/ theme-compat
wp-includes/ jswp-includes/ widgets