Description
Report queued scripts
Usage
$string = bw_report_scripts( $verbose );Parameters
- $verbose
- ( bool ) optional default: 1 –
Returns
string most recently queued scripts and stylesSource
File name: oik/libs/oik-sc-help.phpLines:
1 to 13 of 13
function bw_report_scripts( $verbose=true ) { $dependencies_cache = dependencies_cache::instance(); //$dependencies_cache->query_dependencies_changes(); //$dependencies = $dependencies_cache->serialize_dependencies(); //$serialized = serialize( $dependencies ); //p( $serialized ); $latest_html = $dependencies_cache->get_latest_html(); //oik_require_lib( "bobbfunc" ); if ( function_exists( "bw_jq_get") ) { $latest_html .= bw_jq_get(); } return $latest_html; }View on GitHub View on Trac
Called by
1 to 4 of 4
- Tests_issue_68::test_bw_report_scripts_after_enqueue_script() – – wp_print_footer_scripts() cannot be called multiple times to produce the same output – _wp_footer_scripts() can’t either
- Tests_issue_68::test_bw_report_scripts_after_enqueue_style() –
- Tests_issue_68::test_bw_save_scripts() – We want to be able to see the HTML that’s generated as a result of the scripts and styles that have been enqueued On the first invocation there should might not be any latest HTML.
- _sc__snippet() – Produce the HTML snippet of the shortcode output
Invoked by
Calls
1 to 2 of 2
