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

postmatic/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));
?>

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 64.0%
  • JavaScript 26.8%
  • CSS 9.2%