Skip to content
Snippets Groups Projects
Select Git revision
  • b006b922d8a646ede04a0ef0426783095822797a
  • master default protected
  • bugfix/wordpress-review
  • bugfix/prevent-error-notice
  • remove-arrow
  • feature/update-message
  • feature/minimum-plugin-version-check-demo1
  • feature/plugin-name
  • 3.7.1
  • 3.7.0
  • 3.6.3
  • 3.6.2
  • 3.6.1
  • 3.6.0
  • 3.6.0-beta3
  • 3.6.0-beta2
  • 3.6.0-beta1
  • 3.5.2
  • 3.5.1
  • 3.5.0
  • 3.4.0
  • 3.3.0
  • 3.2.8
  • 3.2.7
  • 3.2.6
  • 3.2.5
  • 3.2.4
  • 3.2.3
28 results

Has_Plugin_Info.php

Blame
  • Has_Plugin_Info.php 470 B
    <?php
    
    if ( ! interface_exists( 'WPDesk_Translatable' ) ) {
    	require_once __DIR__ . '/../Translatable.php';
    }
    
    
    /**
     * Have MUST HAVE info for plugin instantion
     *
     * have to be compatible with PHP 5.2.x
     */
    interface WPDesk_Has_Plugin_Info extends WPDesk_Translatable {
    	/**
    	 * @return string
    	 */
    	public function get_plugin_file_name();
    
    	/**
    	 * @return string
    	 */
    	public function get_plugin_dir();
    
    	/**
    	 * @return string
    	 */
    	public function get_version();
    
    }