Home › Forums › Add-ons › Options Page › Concern about ACF get_fields() efficiency… › Reply To: Concern about ACF get_fields() efficiency…
Results from get_options call:
Array(
[main_ad_-_image] => Array
(
[id] => 25
[alt] => TEST
[title] => lg-social_media
[caption] =>
[description] =>
[mime_type] => image/png
[url] => {urlhere}
[width] => 460
[height] => 260
[sizes] => Array
(
[thumbnail] => {urlhere}/wp-content/uploads/lg-social_media-150x150.png
[thumbnail-width] => 150
[thumbnail-height] => 150
[medium] => {urlhere}/wp-content/uploads/lg-social_media-220x124.png
[medium-width] => 220
[medium-height] => 124
[large] => {urlhere}/wp-content/uploads/lg-social_media.png
[large-width] => 460
[large-height] => 260
)
)
[main_ad_-_url_type] => ext
[main_ad_-_url] => www.google.com
[small_ad_1_-_image] => Array
(
[id] => 28
[alt] => Fake Text
[title] => fake-text
[caption] =>
[description] =>
[mime_type] => image/png
[url] => {urlhere}/wp-content/uploads/fake-text.png
[width] => 220
[height] => 120
[sizes] => Array
(
[thumbnail] => {urlhere}/wp-content/uploads/sm-fake-text-150x120.png
[thumbnail-width] => 150
[thumbnail-height] => 120
[medium] => {urlhere}/wp-content/uploads/sm-fake-text.png
[medium-width] => 220
[medium-height] => 120
[large] => {urlhere}/wp-content/uploads/sm-fake-text.png
[large-width] => 220
[large-height] => 120
)
)
[small_ad_1_-_url_type] => ext
[small_ad_2_-_image] => Array
(
[id] => 30
[alt] => Fake Text 2
[title] => fake-text2
[caption] =>
[description] =>
[mime_type] => image/png
[url] => {urlhere}/wp-content/uploads/fake-text2.png
[width] => 220
[height] => 120
[sizes] => Array
(
[thumbnail] => {urlhere}/wp-content/uploads/fake-text2-150x120.png
[thumbnail-width] => 150
[thumbnail-height] => 120
[medium] => {urlhere}/wp-content/uploads/fake-text2.png
[medium-width] => 220
[medium-height] => 120
[large] => {urlhere}/wp-content/uploads/fake-text2.png
[large-width] => 220
[large-height] => 120
)
)
[small_ad_1_-_url] => www.google.com
[main_ad_-_page] => {urlhere}
[small_ad_2_-_url_type] => ext
[small_ad_2_-_url] => www.google.com
[small_ad_3_-_image] => Array
(
[id] => 27
[alt] => Fake Text 3
[title] => fake-text3
[caption] =>
[description] =>
[mime_type] => image/png
[url] => {urlhere}/wp-content/uploads/fake-text3.png
[width] => 220
[height] => 120
[sizes] => Array
(
[thumbnail] => {urlhere}/wp-content/uploads/fake-text3-150x120.png
[thumbnail-width] => 150
[thumbnail-height] => 120
[medium] => {urlhere}/wp-content/uploads/fake-text3.png
[medium-width] => 220
[medium-height] => 120
[large] => {urlhere}/wp-content/uploads/fake-text3.png
[large-width] => 220
[large-height] => 120
)
)
[small_ad_3_-_url_type] => ext
[small_ad_3_-_url] => www.google.com
[small_ad_4_-_image] => Array
(
[id] => 29
[alt] => Fake Text 4
[title] => fake-text4
[caption] =>
[description] =>
[mime_type] => image/png
[url] => {urlhere}/wp-content/uploads/fake-text4.png
[width] => 220
[height] => 120
[sizes] => Array
(
[thumbnail] => {urlhere}/wp-content/uploads/fake-text4-150x120.png
[thumbnail-width] => 150
[thumbnail-height] => 120
[medium] => {urlhere}/wp-content/uploads/fake-text4.png
[medium-width] => 220
[medium-height] => 120
[large] => {urlhere}/wp-content/uploads/fake-text4.png
[large-width] => 220
[large-height] => 120
)
)
[small_ad_4_-_url_type] => ext
[small_ad_4_-_url] => www.google.com
[facebook] => www.facebook.com
[twitter] => twitter.com
[youtube] => www.youtube.com
[office_address] => text
[office_address_-_google_url] => test
[office_-_phone] => 1234567890
[office_-_800_#] => 8001234567
[office_-_email] => [email protected])
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.