getarchives_where

过滤钩子


apply_filters( 'getarchives_where', $sql_where, $parsed_args )
参数
  • (string)
    $sql_where
    Portion of SQL query containing the WHERE clause.
    Required:
  • (array)
    $parsed_args
    An array of default arguments.
    Required:
定义位置
  • wp-includes/general-template.php
    , line 2029
引入
2.2.0
弃用

Filters the SQL WHERE clause for retrieving archives.

$where = apply_filters( 'getarchives_where', $sql_where, $parsed_args );