Home / Hooks / activated_plugin – action

Fires after a plugin has been activated. If a plugin is silently activated (such as during an update), this hook does not fire.

Parameters

.
( 2.9.0 ) . .
$plugin
( string ) Path to the main plugin file from plugins directory. . . .
( bool ) $network_wide Whether to enable the plugin for all sites in the network or just the current site. Multisite only. Default is false. . . .
Hook name: activated_plugin
Hook type: action
Plugin ref: Jetpack
Sourcefile:
File ref: Jetpack_Sync_Module_Plugins::init_listeners() –
Description: Handle activation procedures for the cron. `updating_jetpack_version` – Handle cron activation when Jetpack gets updated. It’s here to cover the first cron activation after the update.

`jetpack_activate_module_widgets` – Activate the cron when the Extra Sidebar widgets are activated.

`activated_plugin` – Activate the cron when Jetpack gets activated.

Parameters:
Deprecated?: No
API Letters: A,P

Invokers

1 to 1 of 1

  • activate_plugin() – Attempts activation of plugin in a "sandbox" and redirects on success.

Implementers

    Related

    Published: 14 March 2017 | Last updated: 7 December 2018

    Information

    Hook name: activated_plugin
    Hook type: action
    Plugin ref: Jetpack
    Sourcefile:
    File ref: Jetpack_Sync_Module_Plugins::init_listeners() –
    Description: Handle activation procedures for the cron. `updating_jetpack_version` - Handle cron activation when Jetpack gets updated. It's here to cover the first cron activation after the update. `jetpack_activate_module_widgets` - Activate the cron when the Extra Sidebar widgets are activated. `activated_plugin` - Activate the cron when Jetpack gets activated.
    Parameters:
    Deprecated?: No
    API Letters: A,P

    • Plugins
    • Themes
    • Blocks
    • Shortcodes
    • APIs
    • Files
    • Hooks
    • Classes
    • Sites
    • Sitemap
    • Blog
    oik-plugins Jetpack a2z
    Jetpack a2z

    Site:  jetpack.wp-a2z.org
    © Copyright oik-plugins 2014-2019. All rights reserved.


    Website designed and developed by Herb Miller
    Proudly powered by WordPress and oik plugins