function prosports_numbers_to_words($str) { return sp_numbers_to_words($str); }
function sp_get_eos_safe_slug($title, $post_id = 'var') { // String to lowercase $title = strtolower($title); // Replace all numbers with words $title = sp_numbers_to_words($title); // Remove all other non-alphabet characters $title = preg_replace("/[^a-z_]/", '', $title); // Convert post ID to words if title is empty if ($title == '') { $title = sp_numbers_to_words($post_id); } return $title; }
function sportspress_numbers_to_words($str) { return sp_numbers_to_words($str); }