acpt/init
Fires once, after ACPT is fully initialized
Type: Action
Fires once per request, at the end of ACPT's boot sequence — after settings, the database, custom post types/taxonomies, integrations, and the internal logger are all set up. Use it as the safe entry point for any code that needs ACPT to be fully ready.
Parameters
Parameter
Type
Description
$plugin
ACPT_Plugin
The main plugin instance
Usage
add_action("acpt/init", function(ACPT_Plugin $plugin){
// do something
});Last updated