diff options
author | Zach van Rijn <me@zv.io> | 2021-07-21 16:19:29 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2021-07-21 16:19:29 -0500 |
commit | 69c17f9c1942fd0d6a5ea941636e87723b8a6fe2 (patch) | |
tree | e1d0212147048204b0eede0aa6ff79849ed479da /inc/core/deprecated/deprecated-hooks.php | |
parent | 74a7109a2a5ab0d191f26c917ae69e46f0d83b32 (diff) | |
download | blog-ng-69c17f9c1942fd0d6a5ea941636e87723b8a6fe2.tar.gz blog-ng-69c17f9c1942fd0d6a5ea941636e87723b8a6fe2.tar.bz2 blog-ng-69c17f9c1942fd0d6a5ea941636e87723b8a6fe2.tar.xz blog-ng-69c17f9c1942fd0d6a5ea941636e87723b8a6fe2.zip |
dos2unix on all .php files, begin paring down admin page and site branding.
Diffstat (limited to 'inc/core/deprecated/deprecated-hooks.php')
-rw-r--r-- | inc/core/deprecated/deprecated-hooks.php | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/inc/core/deprecated/deprecated-hooks.php b/inc/core/deprecated/deprecated-hooks.php index 0f2943d..b0f62be 100644 --- a/inc/core/deprecated/deprecated-hooks.php +++ b/inc/core/deprecated/deprecated-hooks.php @@ -1,34 +1,34 @@ -<?php
-/**
- * Deprecated Hooks of Astra Theme.
- *
- * @package Astra
- * @author Astra
- * @copyright Copyright (c) 2020, Astra
- * @link https://wpastra.com/
- * @since Astra 1.0.23
- */
-
-if ( ! defined( 'ABSPATH' ) ) {
- exit;
-}
-
-if ( ! function_exists( 'astra_do_action_deprecated' ) ) {
- /**
- * Astra Filter Deprecated
- *
- * @since 1.1.1
- * @param string $tag The name of the filter hook.
- * @param array $args Array of additional function arguments to be passed to apply_filters().
- * @param string $version The version of WordPress that deprecated the hook.
- * @param string $replacement Optional. The hook that should have been used. Default false.
- * @param string $message Optional. A message regarding the change. Default null.
- */
- function astra_do_action_deprecated( $tag, $args, $version, $replacement = false, $message = null ) {
- if ( function_exists( 'do_action_deprecated' ) ) { /* WP >= 4.6 */
- do_action_deprecated( $tag, $args, $version, $replacement, $message );
- } else {
- do_action_ref_array( $tag, $args );
- }
- }
-}
+<?php +/** + * Deprecated Hooks of Astra Theme. + * + * @package Astra + * @author Astra + * @copyright Copyright (c) 2020, Astra + * @link https://wpastra.com/ + * @since Astra 1.0.23 + */ + +if ( ! defined( 'ABSPATH' ) ) { + exit; +} + +if ( ! function_exists( 'astra_do_action_deprecated' ) ) { + /** + * Astra Filter Deprecated + * + * @since 1.1.1 + * @param string $tag The name of the filter hook. + * @param array $args Array of additional function arguments to be passed to apply_filters(). + * @param string $version The version of WordPress that deprecated the hook. + * @param string $replacement Optional. The hook that should have been used. Default false. + * @param string $message Optional. A message regarding the change. Default null. + */ + function astra_do_action_deprecated( $tag, $args, $version, $replacement = false, $message = null ) { + if ( function_exists( 'do_action_deprecated' ) ) { /* WP >= 4.6 */ + do_action_deprecated( $tag, $args, $version, $replacement, $message ); + } else { + do_action_ref_array( $tag, $args ); + } + } +} |