Skip to content

Commit

Permalink
- Switching add_action() with do_action()
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugh Lashbrooke committed Sep 23, 2013
1 parent 7a76a1f commit 682c98e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/class-woothemes-sensei-frontend.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public function enqueue_scripts () {
wp_enqueue_script( 'woosensei-general-frontend', $woothemes_sensei->plugin_url . 'assets/js/general-frontend.js', array( 'jquery' ), '1.3.0' );

// Allow additional scripts to be loaded
add_action( 'sensei_additional_scripts' );
do_action( 'sensei_additional_scripts' );

} // End If Statement

Expand All @@ -159,7 +159,7 @@ public function enqueue_styles () {
wp_enqueue_style( $woothemes_sensei->token . '-frontend' );

// Allow additional stylesheets to be loaded
add_action( 'sensei_additional_styles' );
do_action( 'sensei_additional_styles' );

} // End If Statement

Expand Down

0 comments on commit 682c98e

Please sign in to comment.