Joined June 2013
·
Posted to
Wordpress - Local or live database
over 1 year
ago
Another interesting way of storing environment dependent variables, is to set them up as actual environment variables; completely extracting the environment variables from wp-config.php.
Roots.io has comprehensive documentation that could be an improvement to the workflow proposed in this tip. See: http://roots.io/twelve-factor-03-config
Posted to
Wordpress - Local or live database
over 1 year
ago
Ah, I see props are working again ;) You're welcome @mikeshawdev
Added default value for
size
to make it optional likewp_get_attachment_image_src()
.Should support
wp_get_attachment_image_src
icon
parameter too.