• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Jetpack a2z

Jetpack a2z

Jetpack a2z

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / _inc/lib/functions.wp-notify.php


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;
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      1 to 1 of 1
      • Jetpack::is_active() – Is Jetpack active? The method only checks if there’s an existing token for the master user. It doesn’t validate the token.

      Call hooks

      File name: _inc/lib/functions.wp-notify.php
      Plugin ref: Jetpack
      Version: 9.2
      Deprecated?: No
      API Letters: _,F,I,L,W

      Related

      Published: 27 November 2019 | Last updated: 6 May 2020

      Primary Sidebar

      Information

      File name: _inc/lib/functions.wp-notify.php
      Plugin ref: Jetpack
      Version: 9.2
      Deprecated?: No
      API Letters: _,F,I,L,W

      _inc/lib

      Footer

      Jetpack a2z
      Jetpack a2z
      Jetpack a2z
      WordPress 5.6
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  jetpack.wp-a2z.org
      © Copyright Jetpack a2z 2014-2021. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites