Lines:
1 to 20 of 20
<?php /** phpcs:disable Squiz.Commenting.FileComment.MissingPackageTag,Generic.Commenting.DocComment.MissingShort * Register two plugabble functions to handle notification emails to authors and moderators. */ use Automattic\Jetpack\Redirect; // phpcs:disable WordPress.WP.I18n.MissingArgDomain --reason: WP Core string. if ( ! function_exists( 'wp_notify_postauthor' ) && Jetpack::is_active() ) : /* function wp_notify_postauthor() – Notify an author (and/or others) of a comment/trackback/pingback on a post. */ /* function is_user_connected() – This filter is documented in core/src/wp-includes/pluggable.php */ endif; if ( ! function_exists( 'wp_notify_moderator' ) && Jetpack::is_active() ) : /* function wp_notify_moderator() – Notifies the moderator of the site about a new comment that is awaiting approval. */ /* function is_user_connected() – This filter is documented in core/src/wp-includes/pluggable.php */ endif;