init(); } /** * The class constructor. * * Private to prevent creating multiple instances directly. */ private function init() { add_action( 'divi_extensions_init', array( $this, 'wpvr_initialize_extension' ) ); } /** * Initializes the DIVI module extension. * * Registers action hooks necessary for the extension setup, specifically * initializing the DIVI extension when appropriate. */ public function wpvr_initialize_extension() { new WPVR_Modules(); } }