moved shared functions
This commit is contained in:
parent
2eb4cd0a09
commit
7f72fd5832
@ -15,3 +15,4 @@ include( plugin_dir_path( __FILE__ ) . 'woocommerce/thank_you_page_customization
|
||||
include( plugin_dir_path( __FILE__ ) . 'woocommerce/my_account_customizations.php');
|
||||
include( plugin_dir_path( __FILE__ ) . 'rest-api/provisioner_rest_api_extensions.php');
|
||||
include( plugin_dir_path( __FILE__ ) . 'woocommerce/new_subscription_set_to_needs_provision.php');
|
||||
include( plugin_dir_path( __FILE__ ) . 'shared/federated_woocommerce_shared_functions.php');
|
@ -1,5 +1,4 @@
|
||||
<?php
|
||||
include( plugin_dir_path( __FILE__ ) . 'federated_woocommerce_shared_functions.php');
|
||||
/**
|
||||
* @snippet WooCommerce Add Provision Info Tab
|
||||
* @author Ross Trottier
|
||||
@ -7,7 +6,6 @@ include( plugin_dir_path( __FILE__ ) . 'federated_woocommerce_shared_functions.p
|
||||
|
||||
// 1. Register new endpoint (URL) for My Account page
|
||||
// Note: Re-save Permalinks or it will give 404 error
|
||||
|
||||
add_action('init', 'register_federated_my_account_styles');
|
||||
function register_federated_my_account_styles() {
|
||||
wp_register_style( 'my-account', '/wp-content/plugins/fed-comp-customizations/css/federated-my-account.css' );
|
||||
|
Loading…
Reference in New Issue
Block a user