PHP code example of htmlburger / carbon-fields-yoast
1. Go to this page and download the library: Download htmlburger/carbon-fields-yoast 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/ */
htmlburger / carbon-fields-yoast example snippets
add_action( 'after_setup_theme', 'crb_initialize_carbon_yoast' );
function crb_initialize_carbon_yoast() {
scripts' );
function crb_enqueue_admin_scripts() {
wp_enqueue_script( 'crb-admin', get_stylesheet_directory_uri() . '/js/admin.js', array( 'carbon-fields-yoast' ) );
}