I created a plugin and i need to use add_image_size in it.
I know how it work in the function file and for a theme, but how can i implement this in a plugin?
I want new images uploaded by wordpress users to be smaller for mobile with
add_image_size( 'wp_small', 60, 75, true ); //mobile
I read that you need to use init or admin_init but i don't know how to implement this.