PHP code example of themeplate / meta

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

    

themeplate / meta example snippets


use ThemePlate\Meta\MenuMeta;

( new MenuMeta( 'Custom Menu Meta' ) )->fields( $list )->create();

use ThemePlate\Meta\PostMeta;

( new PostMeta( 'Custom Post Meta' ) )->fields( $list )->locaction( 'post_type' )->create();

use ThemePlate\Meta\TermMeta;

( new TermMeta( 'Custom Term Meta' ) )->fields( $list )->locaction( 'taxonomy' )->create();

use ThemePlate\Meta\UserMeta;

( new UserMeta( 'Custom User Meta' ) )->fields( $list )->create();