public static add_template ( ) : boolean | ||
return | boolean |
public static function add_template()
{
global $pagenow;
if ('options-media.php' !== $pagenow) {
return false;
}
if (is_file(SIS_DIR . '/templates/admin-js.html')) {
include SIS_DIR . '/templates/admin-js.html';
}
return true;
}