Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
themefuse committed Jun 30, 2015
1 parent 4745bac commit 79f2827
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions options/create-option-type.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To define a new option type, create a class that extends the base option type cl
/** @internal */
function _action_theme_include_custom_option_types() {
require_once dirname(__FILE__) . '/option-types/new/class-fw-option-type-new.php';
require_once dirname(__FILE__) . '/includes/option-types/new/class-fw-option-type-new.php';
}
add_action('fw_option_types_init', '_action_theme_include_custom_option_types');
Expand All @@ -42,7 +42,7 @@ To define a new option type, create a class that extends the base option type cl
wp_enqueue_script(
'fw-option-'. $this->get_type(),
$uri .'/css/scripts.js',
$uri .'/js/scripts.js',
array('fw-events', 'jquery')
);
}
Expand Down

0 comments on commit 79f2827

Please sign in to comment.