gianism_analytics_auto_loader_class

gianism_analytics_auto_loader_class

Hook Type: filter

See hook in core

Displaying hooks found in version: gianism.5.2.2

apply_filters('gianism_analytics_auto_loader_class') is found 2 times:

  • /app/Gianism/Plugins/Analytics.php line 418
    		 * @filter gianism_analytics_auto_loader_class
    		 * @param array $class_names
    		 * @param string $scope ajax or cron
    		 */
    		$ajax_classes = apply_filters( 'gianism_analytics_auto_loader_class', [], 'ajax' );
    		$this->crons  = apply_filters( 'gianism_analytics_auto_loader_class', [], 'cron' );
    		// Parse directory
    		$classes = $scan( $template_dir );
    		if ( $template_dir !== $stylesheet_dir ) {
    			$classes = array_merge( $classes, $scan( $stylesheet_dir ) );
    		}
    
  • /app/Gianism/Plugins/Analytics.php line 419
    		 * @param array $class_names
    		 * @param string $scope ajax or cron
    		 */
    		$ajax_classes = apply_filters( 'gianism_analytics_auto_loader_class', [], 'ajax' );
    		$this->crons  = apply_filters( 'gianism_analytics_auto_loader_class', [], 'cron' );
    		// Parse directory
    		$classes = $scan( $template_dir );
    		if ( $template_dir !== $stylesheet_dir ) {
    			$classes = array_merge( $classes, $scan( $stylesheet_dir ) );
    		}
    		if ( ! empty( $classes ) ) {