当前位置: 首页>>代码示例>>PHP>>正文


PHP EM_Object::get_post_search方法代码示例

本文整理汇总了PHP中EM_Object::get_post_search方法的典型用法代码示例。如果您正苦于以下问题:PHP EM_Object::get_post_search方法的具体用法?PHP EM_Object::get_post_search怎么用?PHP EM_Object::get_post_search使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在EM_Object的用法示例。


在下文中一共展示了EM_Object::get_post_search方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: get_post_search

 public static function get_post_search($args = array(), $filter = false, $request = array(), $accepted_args = array())
 {
     //supply $accepted_args to parent argument since we can't depend on late static binding until WP requires PHP 5.3 or later
     $accepted_args = !empty($accepted_args) ? $accepted_args : array_keys(self::get_default_search());
     return apply_filters('em_events_get_post_search', parent::get_post_search($args, $filter, $request, $accepted_args));
 }
开发者ID:mpaskew,项目名称:isc-dev,代码行数:6,代码来源:em-events.php

示例2: get_post_search

 public static function get_post_search($args = array(), $filter = false)
 {
     return apply_filters('em_events_get_post_search', parent::get_post_search($args, $filter));
 }
开发者ID:batruji,项目名称:metareading,代码行数:4,代码来源:em-events.php

示例3: get_post_search

 public static function get_post_search($args = array(), $filter = false, $request = array(), $accepted_args = array())
 {
     //supply $accepted_args to parent argument since we can't depend on late static binding until WP requires PHP 5.3 or later
     $accepted_args = !empty($accepted_args) ? $accepted_args : array_keys(self::get_default_search());
     $return = parent::get_post_search($args, $filter, $request, $accepted_args);
     //remove unwanted arguments or if not explicitly requested
     if (empty($_REQUEST['scope']) && empty($request['scope']) && !empty($return['scope'])) {
         unset($return['scope']);
     }
     return apply_filters('em_locations_get_post_search', $return);
 }
开发者ID:KhanMaytok,项目名称:events-manager,代码行数:11,代码来源:em-locations.php

示例4: get_post_search

 public static function get_post_search($args = array(), $filter = false, $request = array())
 {
     $return = parent::get_post_search($args, $filter, $request);
     //remove unwanted arguments or if not explicitly requested
     if (empty($_REQUEST['scope']) && empty($request['scope']) && !empty($return['scope'])) {
         unset($return['scope']);
     }
     return apply_filters('em_locations_get_post_search', $return);
 }
开发者ID:batruji,项目名称:metareading,代码行数:9,代码来源:em-locations.php


注:本文中的EM_Object::get_post_search方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。