diff --git a/includes/SiteGen/SiteGen.php b/includes/SiteGen/SiteGen.php index ccbf293..9780d9a 100644 --- a/includes/SiteGen/SiteGen.php +++ b/includes/SiteGen/SiteGen.php @@ -44,6 +44,10 @@ class SiteGen { 'site_description', 'content_style', ), + 'siteconfig' => array( + 'site_description', + ), + ); /** @@ -327,6 +331,9 @@ public static function generate_site_meta( $site_info, $identifier, $skip_cache self::cache_sitegen_response( $identifier, $parsed_response ); + // calling the action hook for the identifiers + do_action( 'newfold/ai/sitemeta-'. strtolower( $identifier ) . ':generated', $parsed_response ); + try { return $parsed_response; } catch ( \Exception $exception ) {