PHP code example of ramphor / wallery

1. Go to this page and download the library: Download ramphor/wallery 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/ */

    

ramphor / wallery example snippets



add_action('add_meta_boxes', 'wallery_register_metabox');
function wallery_register_metabox() {
    add_meta_box(
        'metabox_id',
        'Metabox text title',
        array( $walleryInstance, 'render' ),
        'chapter'
    );
}