Skip to main content

vc_before_init_automapper

Fires before the automapper component is initialized. This hook runs inside the Vc_Manager::automapper() method, before the Vc_Automapper class is loaded and instantiated.

Parameters

This action has no parameters.

Usage

add_action( 'vc_before_init_automapper', 'wpb_before_automapper_init' );

function wpb_before_automapper_init() {
// Run custom logic before the automapper is created
// e.g., configure automapper behavior before initialization
}

Source

File: include/classes/core/class-vc-manager.php