PHP code example of s3rgiosan / fm-plus
1. Go to this page and download the library: Download s3rgiosan/fm-plus 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/ */
s3rgiosan / fm-plus example snippets
add_action( 'fm_post_page_on_front', function() {
$fm = new \Fieldmanager_TextField( array(
'name' => 'demo',
) );
$fm->add_meta_box( 'Basic Field', 'post' );
} );