From 91ae0482d84f2566b76699b8f8429e944fdfc944 Mon Sep 17 00:00:00 2001 From: raikasdev Date: Tue, 26 Sep 2023 14:58:53 +0300 Subject: [PATCH] Renamed air-helper action to be consistent with WP --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 38e1f3e7..d61432fd 100644 --- a/functions.php +++ b/functions.php @@ -211,5 +211,5 @@ add_action( 'after_setup_theme', __NAMESPACE__ . '\build_taxonomies' ); add_action( 'after_setup_theme', __NAMESPACE__ . '\build_post_types' ); -add_action( 'air_helper_activated', __NAMESPACE__ . '\rebuild_taxonomies' ); -add_action( 'air_helper_activated', __NAMESPACE__ . '\rebuild_post_types' ); +add_action( 'after_air_helper_init', __NAMESPACE__ . '\rebuild_taxonomies' ); +add_action( 'after_air_helper_init', __NAMESPACE__ . '\rebuild_post_types' );