Writing modular JavaScript without polluting the global namespace
http://marcofranssen.nl/writing-modular-javascript-without-polluting-the-global-namespace/
Life runs on code
http://marcofranssen.nl/writing-modular-javascript-without-polluting-the-global-namespace/
In HTML5, you can download file when clicking on the link instead of redirecting to the file. Read More : http://www.w3schools.com/tags/att_a_download.asp
<?php | |
global $wpdb; | |
if ( is_array( $ids ) ) { | |
$in_str_arr = array_fill( 0, count( $ids ), '%d' ); | |
$in_str = join( ',', $in_str_arr ); | |
$form_id_where = $wpdb->prepare( "ID IN ($in_str)", $ids ); | |
} else { | |
$form_id_where = $ids> 0 ? $wpdb->prepare( 'ID=%d', $ids ) : ''; | |
} |
https://www.tollmanz.com/wp-kses-performance/