Last active
August 29, 2015 14:27
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 | |
/** | |
* Add date description. | |
* | |
* @param array $description List of existing descriptions. | |
* @return array List of modified descriptions. | |
*/ | |
function was_descriptions_date( $descriptions ) { | |
$descriptions['date'] = __( 'Compare to the current date.', 'woocommerce-advanced-shipping' ); | |
return $descriptions; | |
} | |
add_filter( 'was_descriptions', 'was_descriptions_date' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment