Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
Add @return tags to DocBlocks introduced by #57.
Browse files Browse the repository at this point in the history
  • Loading branch information
pbiron committed Apr 4, 2020
1 parent c6bfced commit 75c0be6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,8 @@ function wp_autoupdates_debug_information( $info ) {

/**
* Checks whether plugins auto-update email notifications are enabled.
*
* @return bool True if plugins notifications are enabled, false otherwise.
*/
function wp_autoupdates_is_plugins_auto_update_email_enabled() {
$enabled = ! defined( 'WP_DISABLE_PLUGINS_AUTO_UPDATE_EMAIL' ) || ! WP_DISABLE_PLUGINS_AUTO_UPDATE;
Expand All @@ -931,6 +933,8 @@ function wp_autoupdates_is_plugins_auto_update_email_enabled() {

/**
* Checks whether themes auto-update email notifications are enabled.
*
* @return bool True if themes notifications are enabled, false otherwise.
*/
function wp_autoupdates_is_themes_auto_update_email_enabled() {
$enabled = ! defined( 'WP_DISABLE_THEMES_AUTO_UPDATE_EMAIL' ) || ! WP_DISABLE_THEMES_AUTO_UPDATE;
Expand Down

0 comments on commit 75c0be6

Please sign in to comment.