Scripts and Actions for WordPress
Change set featured image text in admin panel Code works fine, I checked. Think, the method itself may be useful to someone, for example, when writing your WordPress build and optimizing usability “Usability”.
1 2 3 4 |
function custom_admin_post_thumbnail_html( $content ) { return $content = str_replace( __( 'Set featured image' ), __( 'Set default image' ), $content); } add_filter( 'admin_post_thumbnail_html', 'custom_admin_post_thumbnail_html' ); |
Creating a user directly from...