Is there a common method to get a custom attachment URL regardless of the plugin or custom code used?
Say if I use ACF plugin
I can create an image field and get the url with get_field('fieldname');
if it is WordPress featured image i use get_the_post_thumbnail_url();
for wocoommerce it has, it's on method
if I create a custom meta field for image...is there any loop function to get the URL for the uploaded images?
like some_function('field', 'size')
which is common to all the above the method?
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745492948a4630067.html
评论列表(0条)