Skip to content

Commit

Permalink
Update example-functions.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed Feb 19, 2018
1 parent 27d8f2d commit f78e537
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions example-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,9 @@ function yourprefix_register_theme_options_metabox() {
// 'save_button' => esc_html__( 'Save Theme Options', 'cmb2' ), // The text for the options-page save button. Defaults to 'Save'.
// 'disable_settings_errors' => true, // On settings pages (not options-general.php sub-pages), allows disabling.
// 'message_cb' => 'yourprefix_options_page_message_callback',
// 'tab_group' => '', // Tab-group identifier, enables options page tab navigation.
// 'tab_title' => null, // Falls back to 'title' (above).
// 'autoload' => false, // Defaults to true, the options-page option will be autloaded.
) );

/**
Expand Down

0 comments on commit f78e537

Please sign in to comment.