Advertisement
vapvarun

Override the add_image_size for BuddyX

Mar 15th, 2021
1,213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.24 KB | None | 0 0
  1. //Override the add_image_size for BuddyX
  2.  
  3. add_action('after_setup_theme', 'reset_buddyx_featured', 11);
  4.  
  5. function reset_buddyx_featured()
  6. {
  7.     // Override the image sizes
  8.     add_image_size( 'buddyx-featured', 800, 9999, false );
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement