Astra_Theme_Extension::addons_action_hooks()
Astra Addon action hooks
Description
Return
(void)
Source
File: classes/class-astra-theme-extension.php
public function addons_action_hooks() { $activate_transient = get_transient( 'astra_addon_activated_transient' ); $deactivate_transient = get_transient( 'astra_addon_deactivated_transient' ); if ( false != $activate_transient ) { do_action( 'astra_addon_activated', $activate_transient ); delete_transient( 'astra_addon_activated_transient' ); } if ( false != $deactivate_transient ) { do_action( 'astra_addon_deactivated', $deactivate_transient ); delete_transient( 'astra_addon_deactivated_transient' ); } }
Expand full source code Collapse full source code View on Trac