Skip to content

Commit

Permalink
Added doc block to enqueue script function
Browse files Browse the repository at this point in the history
  • Loading branch information
Oshomo Oforomeh committed Sep 29, 2016
1 parent 1ab4aae commit 8482db6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions all-countries-counties-for-wc.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,9 @@ public function get_countries_with_local_government() {
return ['NG' => 'Nigeria'];
}

/**
* Enqueue Plugin Script
*/
public function wc_local_government_checkout_field_enqueue_script() {
wp_register_script('checkout-fields-js', plugins_url( 'public/js/checkout-fields.js', __FILE__ ), array ('jquery-core'), false, true);
$checkout_fields_data = array(
Expand Down

0 comments on commit 8482db6

Please sign in to comment.