Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

jsarnowski / jsarnowski/jet-reviews   php

Repository URL to install this package:

Version: 2.1.0 

/ user / conditions / base.php

<?php
namespace Jet_Reviews\User\Conditions;

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

abstract class Base_Condition {

	/**
	 * Condition slug
	 *
	 * @return string
	 */
	abstract public function get_slug();

	/**
	 * [get_invalid_message description]
	 * @return [type] [description]
	 */
	abstract public function get_invalid_message();

	/**
	 * Condition check callback
	 *
	 * @return bool
	 */
	abstract public function check();

}