wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
rest_preprocess_comment › Les Filtres WordPress
Depuis4.7.0
Dépréciéen/a
› apply_filters( 'rest_preprocess_comment', $prepared_comment, $request )
| Paramètres: (2) |
|
| Défini(e) dans: | |
| Codex: |
Filters a comment added via the REST API after it is prepared for insertion into the database.
Allows modification of the comment right after it is prepared for the database.Fonctions en relation: get_approved_comments, get_page_of_comment, register_block_core_comments, get_previous_comments_link, separate_comments, register_block_core_comment_date
Hooks en relation: preprocess_comment, rest_prepare_comment, rest_pre_insert_comment, rest_prepare_attachment, rest_delete_comment