Clanbite General Since 1.6.0

do_action( 'clanbite_addon_disabled', string $file, string[] $reasons, string $core )

Fires after an incompatible add-on was deactivated.

Action PHP

Parameters

$file (string)

Plugin file.

$reasons (string[])

Why it cannot run.

$core (string)

Clanbite version it was judged against.

Example

add_action( 'clanbite_addon_disabled', function ( $file, $reasons, $core ) {
	// Run your code.
}, 10, 3 );

Defined in inc/updates/class-compat-monitor.php

Changelog

VersionDescription
1.6.0Introduced.