grunion_contact_form_delete_feedback_post, true, $post_id

grunion_contact_form_delete_feedback_post, true, $post_id

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('grunion_contact_form_delete_feedback_post, true, $post_id') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form-plugin.php line 2808
    			 * @param bool|string $prevention_message Whether to apply erase the Feedback post (bool).
    			 *                                        Custom prevention message (string). Default true.
    			 * @param int         $post_id            Feedback post ID.
    			 */
    			$prevention_message = apply_filters( 'grunion_contact_form_delete_feedback_post', true, $post_id );
    
    			if ( true !== $prevention_message ) {
    				if ( $prevention_message && is_string( $prevention_message ) ) {
    					$messages[] = esc_html( $prevention_message );
    				} else {
    					$messages[] = sprintf(