Post status
-
Hi,
I’ve changed PHP Code snippet in the file “/wp-smart-import/views/admin/import/template/content.php” line 35 to show all Post Status and even the custom Post Status ??
<?php $all_post_status = get_post_stati(); ?> <select name="post_status" class="wpsi-form-control" > <?php foreach($all_post_status as $status) { echo '<option value="" '.selected($post_data['post_status'], $status ).'>'; echo $status; echo '</option>'; } ?> </select>
If you want to add this to your plugin, maybe it will interest some developers and users ??
Patrice
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Post status’ is closed to new replies.