Add upstream plugins

Signed-off-by: Adrian Nöthlich <git@promasu.tech>
This commit is contained in:
2019-10-25 22:42:20 +02:00
parent 5d3c2ec184
commit 290736650a
1186 changed files with 302577 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<?php
/**
* Query adapter interface
*
* @author Time.ly Network Inc.
* @since 2.0
*
* @package AI1EC
* @subpackage AI1EC.Http.Request
*/
interface Ai1ec_Adapter_Query_Interface {
/**
* Check if rewrite module is enabled
*/
public function rewrite_enabled();
/**
* Register rewrite rule
*
* @param string $regexp Matching expression
* @param string $landing Landing point for queries matching regexp
* @param int $priority Rule priority (match list) [optional=NULL]
*
* @return bool
*/
public function register_rule( $regexp, $landing, $priority = NULL );
}