Skip to content

Instantly share code, notes, and snippets.

@JeroenSormani
Last active August 29, 2015 14:27
<?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