wpto_localize_data

apply_filters( ‘wpto_localize_data’, $WPT_DATA );

To change short message warning message. Default message is: Please enter Short Message

Parameters #

$WPT_DATA
Returns localization string array

Return #

(array) Returns localization string.

File Location #

includes/enqueue.php

Source Code #

View on Github.com

Example #

if( !function_exists( 'wpt_custom_reload_resize_off' ) ){
   function wpt_custom_reload_resize_off( $WPT_DATA ) {
       $WPT_DATA['resize_loader'] = false;
       return $WPT_DATA;
   }
}
add_filter( 'wpto_localize_data', 'wpt_custom_reload_resize_off' );