|
@@ 5305-5307 (lines=3) @@
|
| 5302 |
|
// Skip listing with statuses trash, auto-draft etc...
|
| 5303 |
|
$skip_statuses = geodir_imex_export_skip_statuses();
|
| 5304 |
|
$where_statuses = '';
|
| 5305 |
|
if ( !empty( $skip_statuses ) && is_array( $skip_statuses ) ) {
|
| 5306 |
|
$where_statuses = "AND `" . $wpdb->posts . "`.`post_status` NOT IN('" . implode( "','", $skip_statuses ) . "')";
|
| 5307 |
|
}
|
| 5308 |
|
|
| 5309 |
|
/**
|
| 5310 |
|
* Filter the SQL where clause part to filter posts count in import/export.
|
|
@@ 5726-5728 (lines=3) @@
|
| 5723 |
|
// Skip listing with statuses trash, auto-draft etc...
|
| 5724 |
|
$skip_statuses = geodir_imex_export_skip_statuses();
|
| 5725 |
|
$where_statuses = '';
|
| 5726 |
|
if ( !empty( $skip_statuses ) && is_array( $skip_statuses ) ) {
|
| 5727 |
|
$where_statuses = "AND `" . $wpdb->posts . "`.`post_status` NOT IN('" . implode( "','", $skip_statuses ) . "')";
|
| 5728 |
|
}
|
| 5729 |
|
|
| 5730 |
|
/**
|
| 5731 |
|
* Filter the SQL where clause part to filter posts in import/export.
|
|
@@ 5790-5792 (lines=3) @@
|
| 5787 |
|
// Skip listing with statuses trash, auto-draft etc...
|
| 5788 |
|
$skip_statuses = geodir_imex_export_skip_statuses();
|
| 5789 |
|
$where_statuses = '';
|
| 5790 |
|
if ( !empty( $skip_statuses ) && is_array( $skip_statuses ) ) {
|
| 5791 |
|
$where_statuses = "AND `" . $wpdb->posts . "`.`post_status` NOT IN('" . implode( "','", $skip_statuses ) . "')";
|
| 5792 |
|
}
|
| 5793 |
|
|
| 5794 |
|
/** This action is documented in geodirectory-functions/geodirectory-admin/admin_functions.php */
|
| 5795 |
|
$where_statuses = apply_filters( 'geodir_get_export_posts', $where_statuses, $post_type );
|