Skip to content
drop-in to abstract ui to select multiple posts and put ids into an input field
PHP JavaScript CSS
Latest commit 7ff07c6 @prettyboymp prettyboymp Merge pull request #18 from voceconnect/adding_updated_js_event
triggering js event on update box to allow for easy binding



  • 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));
Something went wrong with that request. Please try again.