Changeset 731612
- Timestamp:
- 06/25/2013 05:12:42 PM (13 years ago)
- File:
-
- 1 edited
-
custom-csv-exporter/trunk/functions/exporter.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
custom-csv-exporter/trunk/functions/exporter.php
r722653 r731612 17 17 $ccsve_generate_custom_fields = get_option('ccsve_custom_fields'); 18 18 // Query the DB for all instances of the custom post type 19 $ccsve_generate_query = get_posts(array('post_type' => $ccsve_generate_post_type, 'post_status' => 'publish' ));19 $ccsve_generate_query = get_posts(array('post_type' => $ccsve_generate_post_type, 'post_status' => 'publish', 'posts_per_page' => -1)); 20 20 // Count the number of instances of the custom post type 21 21 $ccsve_count_posts = count($ccsve_generate_query);
Note: See TracChangeset
for help on using the changeset viewer.