Customize WooCommerce my account dashboard through plugin
I ended up doing it in what I would consider a sloppy way. On the init hook I check the WooCommerce template against my custom template and if the WooCommerce template does not match my template then I replace the WooCommerce template with my template. add_action( ‘init’, ‘run_inital’ ); function run_inital(){ $wooThemePath = $woocommerce->plugin_path().”/templates/myaccount/dashboard.php”; $myThemeFile … Read more