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