AnsPress_Dashboard::admin_footer()
Description #
Add javascript in dashboard footer.
Source #
File: admin/views/dashboard.php
public static function admin_footer() { ?> <script type="text/javascript"> //<![CDATA[ jQuery(document).ready( function($) { // close postboxes that should be closed $('.if-js-closed').removeClass('if-js-closed').addClass('closed'); // postboxes setup postboxes.add_postbox_toggles('anspress'); }); //]]> </script> <?php }
Expand full source code Collapse full source code View on GitHub: admin/views/dashboard.php:43
Add your comment