HEX
HEX
Server: Apache/2
System: Linux 31.186.11.143 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: tek178om (4688)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/tek178om/public_html/wp-content/plugins/astra-addon/classes/deprecated/deprecated-actions.php
<?php
/**
 * Deprecated Actions of Astra Addon.
 *
 * @package     Astra
 * @link        https://wpastra.com/
 * @since       Astra 3.5.7
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( function_exists( 'astra_do_action_deprecated' ) ) {

	/**
	 * Depreciating Astra AJAX pgination actions.
	 *
	 * @since 3.5.7
	 */
	astra_do_action_deprecated( 'astra_shop_pagination_infinite', array(), '3.5.7' );
	astra_do_action_deprecated( 'astra_pagination_infinite', array(), '3.5.7' );
}

// Depreciating astra_get_css_files hook.
add_action( 'astra_addon_get_css_files', 'astra_deprecated_astra_get_css_files_hook' );

/**
 * Depreciating 'astra_get_css_files' action & replacing with 'astra_addon_get_css_files'.
 *
 * @since 3.6.2
 */
function astra_deprecated_astra_get_css_files_hook() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound
	astra_do_action_deprecated( 'astra_get_css_files', array(), '3.6.2', 'astra_addon_get_css_files' );
}

// Depreciating astra_get_js_files hook.
add_action( 'astra_addon_get_js_files', 'astra_deprecated_astra_get_js_files_hook' );

/**
 * Depreciating 'astra_get_js_files' action & replacing with 'astra_addon_get_js_files'.
 *
 * @since 3.6.2
 */
function astra_deprecated_astra_get_js_files_hook() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound
	astra_do_action_deprecated( 'astra_get_js_files', array(), '3.6.2', 'astra_addon_get_js_files' );
}

// Depreciating astra_after_render_js hook.
add_action( 'astra_addon_after_render_js', 'astra_deprecated_astra_after_render_js_hook' );

/**
 * Depreciating 'astra_after_render_js' action & replacing with 'astra_addon_after_render_js'.
 *
 * @since 3.6.2
 */
function astra_deprecated_astra_after_render_js_hook() { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound
	astra_do_action_deprecated( 'astra_after_render_js', array(), '3.6.2', 'astra_addon_after_render_js' );
}