WC_Admin_API_Keys_Table_List::column_truncated_key()
Return truncated consumer key column.
Method of the class: WC_Admin_API_Keys_Table_List{}
No Hooks.
Return
String
.
Usage
$WC_Admin_API_Keys_Table_List = new WC_Admin_API_Keys_Table_List(); $WC_Admin_API_Keys_Table_List->column_truncated_key( $key );
- $key(array) (required)
- Key data.
WC_Admin_API_Keys_Table_List::column_truncated_key() WC Admin API Keys Table List::column truncated key code WC 9.4.2
public function column_truncated_key( $key ) { return '<code>***' . esc_html( $key['truncated_key'] ) . '</code>'; }