WP HOOKS

Komentarze

Hooki komentarzy i formularzy komentarzy.

43 akcji84 filtrówrazem 127

Popularne w tej kategorii

Zmienia kolejność i zawartość pól formularza komentarzy.

Uruchamiany po zapisaniu komentarza. Pozwala na wysyłanie powiadomień i dodatkową moderację.

Filtruje treść komentarza przy wyświetlaniu.

Wszystkie hooki

allow_empty_commentfiltr

Filters whether an empty comment should be allowed.

author_emailfiltr

Filters the comment author's email for display.

cancel_comment_reply_linkfiltr

Filters the cancel comment reply link HTML.

check_comment_floodakcja

Fires immediately before a comment is marked approved.

clean_comment_cacheakcja

Fires immediately after a comment has been removed from the object cache.

close_comments_for_post_typesfiltr

Filters the list of post types to automatically close comments for.

comment_{$new_status}_{$comment->comment_type}akcjadynamiczny

Fires when the status of a specific comment type is in transition.

comment_{$old_status}_to_{$new_status}akcjadynamiczny

Fires when the comment status is in transition from one specific status to another.

comment_authorfiltr

Filters the comment author's name for display.

comment_author_link_relfiltr

Filters the rel attributes of the comment author's link.

comment_classfiltr

Filters the returned CSS classes for the current comment.

comment_closedakcja

Fires when a comment is attempted on a post that has comments closed.

comment_cookie_lifetimefiltr

Filters the lifetime of the comment cookie in seconds.

comment_duplicate_messagefiltr

Filters duplicate comment error message.

comment_duplicate_triggerakcja

Fires immediately after a duplicate comment is detected.

comment_emailfiltr

Filters the comment author's email for display.

comment_excerptfiltr

Filters the comment excerpt for display.

comment_excerpt_lengthfiltr

Filters the maximum number of words used in the comment excerpt.

comment_flood_filterfiltr

Filters the comment flood status.

comment_flood_messagefiltr

Filters the comment flood error message.

comment_flood_triggerakcja

Fires before the comment flood message is triggered.

comment_formakcja

Fires at the bottom of the comment form, inside the closing form tag.

comment_form_afterakcja

Fires after the comment form.

comment_form_after_fieldsakcja

Fires after the comment fields in the comment form, excluding the textarea.

comment_form_beforeakcja

Fires before the comment form.

comment_form_before_fieldsakcja

Fires before the comment fields in the comment form, excluding the textarea.

comment_form_comments_closedakcja

Fires after the comment form if comments are closed.

comment_form_default_fieldsfiltr

Filters the default comment form fields.

comment_form_defaultsfiltr

Filters the comment form default arguments.

comment_form_field_{$name}filtrdynamiczny

Filters a comment form field for display.

comment_form_field_commentfiltr

Filters the content of the comment textarea field for display.

comment_form_fieldsfiltr

Filters the comment form fields, including the textarea.

comment_form_logged_infiltr

Filters the 'logged in' message for the comment form for display.

comment_form_logged_in_afterakcja

Fires after the is_user_logged_in() check in the comment form.

comment_form_must_log_in_afterakcja

Fires after the HTML-formatted 'must log in after' message in the comment form.

comment_form_submit_buttonfiltr

Filters the submit button for the comment form to display.

comment_form_submit_fieldfiltr

Filters the submit field for the comment form to display.

comment_form_topakcja

Fires at the top of the comment form, inside the form tag.

comment_id_fieldsfiltr

Filters the returned comment ID fields.

comment_id_not_foundakcja

Fires when a comment is attempted on a post that does not exist.

comment_max_links_urlfiltr

Filters the number of links found in a comment.

comment_on_draftakcja

Fires when a comment is attempted on a post in draft mode.

comment_on_password_protectedakcja

Fires when a comment is attempted on a password-protected post.

comment_on_trashakcja

Fires when a comment is attempted on a trashed post.

comment_postakcja

Fires immediately after a comment is inserted into the database.

comment_reply_linkfiltr

Filters the comment reply link.

comment_reply_link_argsfiltr

Filters the comment reply link arguments.

comment_reply_to_unapproved_commentakcja

Fires when a comment reply is attempted to an unapproved comment.

comment_save_prefiltr

Filters the comment content before it is updated in the database.

comment_textfiltr

Filters the text of a comment to be displayed.

comment_urlfiltr

Filters the comment author's URL for display.

comments_arrayfiltr

Filters the comments array.

comments_clausesfiltrreferencja

Filters the comment query clauses.

comments_numberfiltr

Filters the comments count for display.

comments_openfiltr

Filters whether the current post is open for comments.

comments_popup_link_attributesfiltr

Filters the comments link attributes for display.

comments_pre_queryfiltrreferencja

Filters the comments data before the query takes place.

comments_templatefiltr

Filters the path to the theme template file used for the comments template.

comments_template_query_argsfiltr

Filters the arguments used to query comments in comments_template().

comments_template_top_level_query_argsfiltr

Filters the arguments used in the top level comments query.

delete_commentakcja

Fires immediately before a comment is deleted from the database.

deleted_commentakcja

Fires immediately after a comment is deleted from the database.

do_all_pingsakcja

Fires immediately after the `do_pings` event to hook services individually.

duplicate_comment_idfiltr

Filters the ID, if any, of the duplicate comment found when creating a new comment.

edit_commentakcja

Fires immediately after a comment is updated in the database.

found_comments_queryfiltr

Filters the query used to retrieve found comment count.

get_commentfiltr

Fires after a comment is retrieved.

get_comment_authorfiltr

Filters the returned comment author name.

get_comment_author_emailfiltr

Filters the comment author's returned email address.

get_comment_author_IPfiltr

Filters the comment author's returned IP address.

get_comment_author_linkfiltr

Filters the comment author's link for display.

get_comment_author_urlfiltr

Filters the comment author's URL.

get_comment_author_url_linkfiltr

Filters the comment author's returned URL link.

get_comment_datefiltr

Filters the returned comment date.

get_comment_excerptfiltr

Filters the retrieved comment excerpt.

get_comment_IDfiltr

Filters the returned comment ID.

get_comment_linkfiltr

Filters the returned single comment permalink.

get_comment_textfiltr

Filters the text of a comment.

get_comment_timefiltr

Filters the returned comment time.

get_comment_typefiltr

Filters the returned comment type.

get_comments_linkfiltr

Filters the returned post comments permalink.

get_comments_numberfiltr

Filters the returned comment count for a post.

get_default_comment_statusfiltr

Filters the default comment status for the given post type.

get_page_of_commentfiltr

Filters the calculated page on which a comment appears.

get_page_of_comment_query_argsfiltr

Filters the arguments used to query comments in get_page_of_comment().

notify_post_authorfiltr

Filters whether to send the post author new comment notification emails, overriding the site setting.

parse_comment_queryakcjareferencja

Fires after the comment query vars have been parsed.

pingback_useragentfiltr

Filters the user agent sent when pinging-back a URL.

pings_openfiltr

Filters whether the current post is open for pings.

post_comments_linkfiltr

Filters the formatted post comments link HTML.

pre_comment_approvedfiltr

Filters a comment's approval status before it is set.

pre_comment_author_emailfiltr

Filters the comment author's email cookie before it is set.

pre_comment_author_namefiltr

Filters the comment author's name cookie before it is set.

pre_comment_author_urlfiltr

Filters the comment author's URL cookie before it is set.

pre_comment_contentfiltr

Filters the comment content before it is set.

pre_comment_on_postakcja

Fires before a comment is posted.

pre_comment_user_agentfiltr

Filters the comment author's browser user agent before it is set.

pre_comment_user_ipfiltr

Filters the comment author's IP address before it is set.

pre_get_commentsakcjareferencja

Fires before comments are retrieved.

pre_pingakcjareferencja

Fires just before pinging back links found in a post.

pre_user_idfiltr

Filters the comment author's user ID before it is set.

pre_wp_update_comment_count_nowfiltr

Filters a post's comment count before it is updated in the database.

preprocess_commentfiltr

Filters a comment's data before it is sanitized and inserted into the database.

respond_linkfiltr

Filters the respond link when a post has no comments.

spam_commentakcja

Fires immediately before a comment is marked as Spam.

spammed_commentakcja

Fires immediately after a comment is marked as Spam.

the_commentsfiltrreferencja

Filters the comment query results.

trackback_urlfiltr

Filters the returned trackback URL.

transition_comment_statusakcja

Fires when the comment status is in transition.

trash_commentakcja

Fires immediately before a comment is sent to the Trash.

trashed_commentakcja

Fires immediately after a comment is sent to Trash.

unspam_commentakcja

Fires immediately before a comment is unmarked as Spam.

unspammed_commentakcja

Fires immediately after a comment is unmarked as Spam.

untrash_commentakcja

Fires immediately before a comment is restored from the Trash.

untrashed_commentakcja

Fires immediately after a comment is restored from the Trash.

wp_anonymize_commentfiltr

Filters whether to anonymize the comment.

wp_check_comment_disallowed_listakcja

Fires before the comment is tested for disallowed characters or words.

wp_count_commentsfiltr

Filters the comments count for a given post or the whole site.

wp_get_comment_fields_max_lengthsfiltr

Filters the lengths for the comment form fields.

wp_get_current_commenterfiltr

Filters the current commenter's name, email, and URL.

wp_insert_commentakcja

Fires immediately after a comment is inserted into the database.

wp_is_comment_floodfiltr

Filters whether a comment is part of a comment flood.

wp_list_comments_argsfiltr

Filters the arguments used in retrieving the comment list.

wp_set_comment_statusakcja

Fires immediately after transitioning a comment's status from one to another in the database and removing the comment from the object cache, but prior to all status transition hooks.

wp_update_comment_countakcja

Fires immediately after a post's comment count is updated in the database.

wp_update_comment_datafiltr

Filters the comment data immediately before it is updated in the database.

wp_update_comment_type_batch_sizefiltr

Filters the comment batch size for updating the comment type.