PHP code example of amostajo / wordpress-add-on-post-picker

1. Go to this page and download the library: Download amostajo/wordpress-add-on-post-picker 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/ */

    

amostajo / wordpress-add-on-post-picker example snippets


    'Amostajo\Wordpress\PostPickerAddon\PostPicker',

class Main extends Plugin
{
    public function metabox()
    {
        // The function must be called within your Main.php file
        $this->addon_post_picker();
    }
}