jetpack_jitm_received_envelopes, $envelopes, $message_path
jetpack_jitm_received_envelopes, $envelopes, $message_path
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('jetpack_jitm_received_envelopes, $envelopes, $message_path') is found 1 times:
- /jetpack_vendor/automattic/jetpack-jitm/src/class-post-connection-jitm.php line 365
* * @param array $envelopes array of existing JITMs. * @param string $message_path The message path to ask for. */ $envelopes = apply_filters( 'jetpack_jitm_received_envelopes', $envelopes, $message_path ); foreach ( $envelopes as $idx => &$envelope ) { $dismissed_feature = isset( $hidden_jitms[ $envelope->feature_class ] ) && is_array( $hidden_jitms[ $envelope->feature_class ] ) ? $hidden_jitms[ $envelope->feature_class ] : null; // If the this feature class has been dismissed and the request has not passed the ttl, skip it as it's been dismissed.