Created
February 25, 2020 09:47
-
-
Save damiencarbery/20894fdf07a8d7191191717f7722ca5a to your computer and use it in GitHub Desktop.
Remove "aux-phone-off" from Phlox theme - https://wordpress.stackexchange.com/a/359292/57684
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Remove "aux-phone-off" from Phlox theme | |
Plugin URI: https://wordpress.stackexchange.com/a/359292/57684 | |
Description: Remove "aux-phone-off" from header template in Phlox theme. | |
Author: Damien Carbery | |
Author URI: https://www.damiencarbery.com | |
Version: 0.1 | |
*/ | |
add_filter( 'auxin_shopping_basket', 'dcwd_remove_aux_phone_off_class', 10, 2 ); | |
function dcwd_remove_aux_phone_off_class( $markup, $args ) { | |
return str_replace( 'aux-phone-off', '', $markup ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment