Inventory_Presser_Order_By_Widget::prettify_meta_key( string $key )

Crudely takes a post meta key, removes underscores, and converts the string to Title Case.


Parameters

$key

(string) (Required)


Return

(string)


Source

File: includes/widget/class-widget-order-by.php

	function prettify_meta_key( $key ) {
		return str_replace( '_', ' ', ucfirst( apply_filters( 'invp_unprefix_meta_key', $key ) ) );
	}