Skip to content

drop-in to abstract ui to select multiple posts and put ids into an input field

Notifications You must be signed in to change notification settings

voceconnect/post-selection-ui

Repository files navigation

USE

  • include() the post-selection-ui.php
  • echo post_selection_ui() like below:
<?php echo post_selection_ui('input_name', array(
	'post_type' => 'post',
	'selected' => $current_selected_ids,
	'limit' => $max_posts_to_select));
?>