Disable TEST API load textdomain – why wee need this?
-
Hi, thanks for great plugin!
I have question, why we need to disable REST API load texdomain with this code:
add_action( 'init', 'disable_rest_api_load_textdomain' ); function disable_rest_api_load_textdomain() { load_plugin_textdomain( 'disable-json-api', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Disable TEST API load textdomain – why wee need this?’ is closed to new replies.