grunion_should_send_email, null, $post_id
grunion_should_send_email, null, $post_id
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('grunion_should_send_email, null, $post_id') is found 1 times:
- /jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form.php line 3106
* - false: Don't send email regardless of emailNotifications setting * - null: Use emailNotifications attribute to determine (default behavior) * @param int $post_id Post ID. */ $should_send_email = apply_filters( 'grunion_should_send_email', null, $post_id ); // Determine if email should be sent based on filter precedence. if ( $should_send_email === true ) { // Filter explicitly says to send email $send_email = true; } elseif ( $should_send_email === false ) {