Product_Tabs_Cpt::cpt_slug_encoding_non_latin( array $data, array $postarr, array $unsanitized_postarr )

Fix slug encoding for chinese characters.


Description

Chinese characters are URL encoded, and it breaks the JS.


Parameters

$data

(Required) An array of slashed, sanitized, and processed post data.

$postarr

(Required) An array of sanitized (and slashed) but otherwise unmodified post data.

$unsanitized_postarr

(Required) An array of slashed yet *un-sanitized* and unprocessed post data as originally passed to wp_insert_post().


Return

(array)


Source

File: includes/modules/woocommerce_booster/tab_manager/product_tabs_cpt.php