Clanbite General Since 1.6.0

do_action( 'clanbite_addon_installed', string $slug, string $file )

Fires after an add-on was installed from the Licence tab (it is installed, not yet activated).

Action PHP

Parameters

$slug (string)

Plugin slug.

$file (string)

Plugin file relative to the plugins directory.

Example

add_action( 'clanbite_addon_installed', function ( $slug, $file ) {
	// Run your code.
}, 10, 2 );

Defined in inc/updates/class-installer.php

Changelog

VersionDescription
1.6.0Introduced.