Skip to content
This repository has been archived by the owner on Dec 17, 2018. It is now read-only.

Added option to customize the URL path #655

Open
wants to merge 3 commits into
base: trunk
Choose a base branch
from

Conversation

kalicki
Copy link

@kalicki kalicki commented Aug 15, 2014

Example:

// Initialize the metabox class
add_action( 'init', 'be_initialize_cmb_meta_boxes', 9999 );
function be_initialize_cmb_meta_boxes() {
    // Custom path URL
    define( 'CMB_META_BOX_URL', trailingslashit( CUSTOM_URL_PATH ) );
    if ( !class_exists( 'cmb_Meta_Box' ) ) {
        require_once( 'lib/metabox/init.php' );
    }
}

Filipe F. Kalicki added 3 commits August 15, 2014 13:50
// Initialize the metabox class
add_action( 'init', 'be_initialize_cmb_meta_boxes', 9999 );
function be_initialize_cmb_meta_boxes() {
	// Custom path URL
    define( 'CMB_META_BOX_URL', trailingslashit( CUSTOM_URL_PATH ) );
    if ( !class_exists( 'cmb_Meta_Box' ) ) {
        require_once( 'lib/metabox/init.php' );
    }
}
Includes:
- Default (en_US)
- Portuguese Brazil (pt_BR)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant