If you add this to functions.php
file, this will update the options as set.
1 2 3 4 5 6 7 8 | function custom_image_size() { // Set default values for the upload media box update_option('image_default_align', 'center' ); update_option('image_default_size', 'large' ); } add_action('after_setup_theme', 'custom_image_size'); |
You can update the options as you need.
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.