dashed-slug.net › Forums › General discussion › Plugin Overrides › Reply To: Plugin Overrides
So, like this:
function my_wallets_views_dir_override( $dir ) {
return get_stylesheet_directory_uri() . ‘/wallets/include/views/’;
}
add_filter( ‘wallets_views_dir’, ‘my_wallets_views_dir_override’ );
But you say:
wp-content/plugins/wallets/includes/views/balance.php
wp-content/plugins/wallets/includes/views/move.php
wp-content/plugins/wallets/includes/views/deposit.php
wp-content/plugins/wallets/includes/views/withdraw.php
wp-content/plugins/wallets/includes/views/transactions.php
Should this not be:
wp-content/plugins/wallets/includes/views/balance/default.php
wp-content/plugins/wallets/includes/views/move/default.php
wp-content/plugins/wallets/includes/views/deposit/default.php
wp-content/plugins/wallets/includes/views/withdraw/default.php
wp-content/plugins/wallets/includes/views/transactions/default.php
What about account value ?
wp-content/plugins/wallets/includes/views/account_value/default.php
Graeme