Lines:
201 to 255 of 255
} if ( !function_exists( "bw_jtorf" ) ) { /* function bw_jtorf() – Pre-processing for json_encode to convert "on" == "true" to 1 == true "off" == "0" to 0 == false torf = true or false This will allow WordPress options which are checkboxes to be passed as jQuery boolean parameters where the default is true so we need to pass false. */ } /* function bw_assoc() – Convert a simple array into an associative array keyed on the value */ /* function bw_file_to_url() – Convert array of file names to array of urls */ /* function bw_get_image_link() – Return the URL that this image links to */ /* function bw_recreate_options() – Recreate a WordPress option with the defined autoload value */ /* function bw_append() – Return a non null string following the separator or null */ /* function bw_pick_one() – This is very much like bw_default but it uses trim() to strip blanks Can we change bw_default to do the same? */ /* function bw_load_plugin_textdomain() – Load the language specific stuff for the selected domain/plugin */ /* function bw_get_theme() – Return the current theme name */ /* function bw_wp_error() – */ /* function bw_global_post_id() – Return the global post ID */ /* function bw_current_post_id() – Set/return the current post ID */ /* function bw_context() – Set/return some contextual information */ /* function bw_translate() – Wrapper to translate */ /* function bw_translation_off() – Turn off translation performed by bw_translate() */ /* function bw_translation_on() – Turn on translation performed by bw_translate() */ /* function bw_dtt() – Register some text for localization as deferred translatable text */ /* function bw_get_dtt() – Retrieve the text for localization from the global $bw_dtt array */ /* function bw_tt() – Return the localized version of some deferred translatable text (dtt) */ /* function bw_is_loaded() – Determine if a particular file is loaded */ /* function bw_as_array() – Split a string into an array if necessary */ } /* end !defined */View on GitHub