Skip to content
Snippets Groups Projects
Select Git revision
  • 58a8ee24ae805b49a39b8763872ece812392012a
  • master default protected
  • fix/deprecated_functions
  • devel
  • feat/translations
  • feat/upgrade_to_pro_url
  • feat/lang
  • bugfix/require-interface
  • bugfix/require-once-error
  • feature/activation-hooks
  • feature/template-loader
  • feature/template-renderer
  • feature/plugin-activation
  • feature/hookable-object
  • feature/builder-pattern
  • 2.1.2
  • 2.1.1
  • 2.1.0
  • 2.0.0
  • 2.0.0-beta1
  • 1.4.4
  • 1.4.3
  • 1.4.2
  • 1.4.1
  • 1.4
  • 1.3.3
  • 1.3.2
  • 1.3.1
  • 1.3.0
  • 1.2.0
  • 1.1
  • 1.0
32 results

Activateable.php

Blame
  • Activateable.php 372 B
    <?php
    
    
    namespace WPDesk\PluginBuilder\Plugin;
    
    /**
     * Tag the plugin with this ingterface to hook it to the WordPress activation hook.
     *
     * Note: works from plugin flow ^2.2.
     *
     * @package WPDesk\PluginBuilder\Plugin
     */
    interface Activateable {
    
    	/**
    	 * Plugin activated in WordPress. Do not execute directly.
    	 *
    	 * @return void
    	 */
    	public function activate();
    }