classes/logging.php 1 location
|
@@ 383-393 (lines=11) @@
|
| 380 |
|
'post_status' => 'publish', |
| 381 |
|
); |
| 382 |
|
|
| 383 |
|
if ( ! empty( $type ) && self::valid_type( $type ) ) { |
| 384 |
|
|
| 385 |
|
$query_args['tax_query'] = array( |
| 386 |
|
array( |
| 387 |
|
'taxonomy' => 'wp_log_type', |
| 388 |
|
'field' => 'slug', |
| 389 |
|
'terms' => sanitize_key( $type ), |
| 390 |
|
), |
| 391 |
|
); |
| 392 |
|
|
| 393 |
|
} |
| 394 |
|
|
| 395 |
|
if ( ! empty( $meta_query ) ) { |
| 396 |
|
$query_args['meta_query'] = $meta_query; |
vendor/pippinsplugins/wp-logging/WP_Logging.php 1 location
|
@@ 422-432 (lines=11) @@
|
| 419 |
|
'post_status' => 'publish' |
| 420 |
|
); |
| 421 |
|
|
| 422 |
|
if( ! empty( $type ) && self::valid_type( $type ) ) { |
| 423 |
|
|
| 424 |
|
$query_args['tax_query'] = array( |
| 425 |
|
array( |
| 426 |
|
'taxonomy' => 'wp_log_type', |
| 427 |
|
'field' => 'slug', |
| 428 |
|
'terms' => $type |
| 429 |
|
) |
| 430 |
|
); |
| 431 |
|
|
| 432 |
|
} |
| 433 |
|
|
| 434 |
|
if( ! empty( $meta_query ) ) { |
| 435 |
|
$query_args['meta_query'] = $meta_query; |