A simple mu-plugin to log in as any WordPress user without a known password
If you have FTP access to a customer’s site (or if they haven’t secured their WordPress file editor), you can add this code to their site and be able to…
If you have FTP access to a customer’s site (or if they haven’t secured their WordPress file editor), you can add this code to their site and be able to…
Here is a simple script I created to set the “Open link in a new window/tab” checkbox to checked by default in WordPress.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
/* * Sets "Open link in a new window/tab" to checked by default */ function ahu_after_wp_tiny_mce() { ?> <script type="text/javascript"> jQuery( function() { jQuery( 'input#link-target-checkbox' ).prop( 'checked', true ); } ); </script> <?php } add_action( 'after_wp_tiny_mce', 'ahu_after_wp_tiny_mce' ); |
There might be a better way…