Skip to content
Snippets Groups Projects
Select Git revision
  • 1b2a5cc11b30e323917467b8bb070fddc43b741c
  • 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

Requirement_Checker.php

Blame
  • Requirement_Checker.php 1.59 KiB
    <?php
    /**
     * Checks requirements for plugin
     * have to be compatible with PHP 5.2.x
     */
    interface WPDesk_Requirement_Checker
    {
        /**
         * @param string $version
         *
         * @return $this
         */
        public function set_min_php_require($version);
    
        /**
         * @param string $version
         *
         * @return $this
         */
        public function set_min_wp_require($version);
    
        /**
         * @param string $version
         *
         * @return $this
         */
        public function set_min_wc_require($version);
    
        /**
         * @param $version
         *
         * @return $this
         */
        public function set_min_openssl_require($version);
    
        /**
         * @param string $plugin_name
         * @param string $nice_plugin_name Nice plugin name for better looks in notice
         *
         * @return $this
         */
        public function add_plugin_require($plugin_name, $nice_plugin_name = null);
    
        /**
         * @param string $module_name
         * @param string $nice_name Nice module name for better looks in notice
         *
         * @return $this
         */
        public function add_php_module_require($module_name, $nice_name = null);
    
        /**
         * @param string $setting
         * @param mixed $value
         *
         * @return $this
         */
        public function add_php_setting_require($setting, $value);
    
        /**
         * @return bool
         */
        public function are_requirements_met();
    
        /**
         * @return void
         */
        public function disable_plugin_render_notice();
    
    	/**