PHP code example of voceconnect / post-selection-ui
1. Go to this page and download the library: Download voceconnect/post-selection-ui library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
voceconnect / post-selection-ui example snippets
echo post_selection_ui('input_name', array(
'post_type' => 'post',
'selected' => $current_selected_ids,
'limit' => $max_posts_to_select));