Updates to 6.6.0
This commit is contained in:
parent
ed376e7d24
commit
edcc0c871f
16
acf.php
16
acf.php
|
|
@ -9,14 +9,24 @@
|
||||||
* Plugin Name: Advanced Custom Fields PRO
|
* Plugin Name: Advanced Custom Fields PRO
|
||||||
* Plugin URI: https://www.advancedcustomfields.com
|
* Plugin URI: https://www.advancedcustomfields.com
|
||||||
* Description: Customize WordPress with powerful, professional and intuitive fields.
|
* Description: Customize WordPress with powerful, professional and intuitive fields.
|
||||||
* Version: 6.5.1
|
* Version: 6.6.0
|
||||||
* Author: WP Engine
|
* Author: WP Engine
|
||||||
* Author URI: https://wpengine.com/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=plugin_directory&utm_content=advanced_custom_fields
|
* Author URI: https://wpengine.com/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=plugin_directory&utm_content=advanced_custom_fields
|
||||||
* Update URI: https://www.advancedcustomfields.com/pro
|
* Update URI: https://www.advancedcustomfields.com/pro
|
||||||
* Text Domain: acf
|
* Text Domain: acf
|
||||||
* Domain Path: /lang
|
* Domain Path: /lang
|
||||||
* Requires PHP: 7.4
|
* Requires PHP: 7.4
|
||||||
* Requires at least: 6.0
|
* Requires at least: 6.2
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
|
@ -35,7 +45,7 @@ if ( ! class_exists( 'ACF' ) ) {
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $version = '6.5.1';
|
public $version = '6.6.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The plugin settings array.
|
* The plugin settings array.
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
||||||
(()=>{var e={805:()=>{!function(e){const t=function(t){return void 0===t.element?t:t.children&&"None"===t.text?void 0:("acfOptionsPages"===t.text&&(t.text=acf.__("Options Pages")),e('<span class="acf-selection"></span>').data("element",t.element).html(acf.strEscape(t.text)))},a=function(t){if(void 0===t.element)return t;const a=e('<span class="acf-selection"></span>');return a.html(acf.strEscape(t.element.innerHTML)),"options"!==t.id&&"edit_posts"!==t.id||a.append('<span class="acf-select2-default-pill">'+acf.__("Default")+"</span>"),a.data("element",t.element),a};new acf.Model({id:"UIOptionsPageManager",wait:"ready",events:{"change .acf-options-page-parent_slug":"toggleMenuPositionDesc"},initialize:function(){"ui_options_page"===acf.get("screen")&&(acf.newSelect2(e("select.acf-options-page-parent_slug"),{field:!1,templateSelection:t,templateResult:t,dropdownCssClass:"field-type-select-results"}),acf.newSelect2(e("select.acf-options-page-capability"),{field:!1,templateSelection:a,templateResult:a}),acf.newSelect2(e("select.acf-options-page-data_storage"),{field:!1,templateSelection:a,templateResult:a}),this.toggleMenuPositionDesc())},toggleMenuPositionDesc:function(t,a){"none"===e("select.acf-options-page-parent_slug").val()?(e(".acf-menu-position-desc-child").hide(),e(".acf-menu-position-desc-parent").show()):(e(".acf-menu-position-desc-parent").hide(),e(".acf-menu-position-desc-child").show())}}),new acf.Model({id:"optionsPageModalManager",events:{"change .location-rule-value":"createOptionsPage"},createOptionsPage:function(a){const n=e(a.target);if("add_new_options_page"!==n.val())return;let o=!1;const s=function(a){o=acf.newPopup({title:a.data.title,content:a.data.content,width:"600px"}),o.$el.addClass("acf-create-options-page-popup");const n=o.$el.find("#acf_ui_options_page-page_title"),s=n.val();n.focus().val("").val(s),acf.newSelect2(e("#acf_ui_options_page-parent_slug"),{field:!1,templateSelection:t,templateResult:t,dropdownCssClass:"field-type-select-results"}),o.on("submit","form",c)},c=function(t){t.preventDefault(),acf.validateForm({form:e("#acf-create-options-page-form"),success:i,failure:l})},i=function(){const t=e("#acf-create-options-page-form").serializeArray(),a={action:"acf/create_options_page"};t.forEach(e=>{a[e.name]=e.value}),e.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a),type:"post",dataType:"json",success:p})},l=function(t){const a=e("#acf-create-options-page-form"),n=a.find(".acf-field .acf-error-message");a.find(".acf-notice").first().remove(),n.each(function(){const t=e(this).closest(".acf-field").find(".acf-label:first");e(this).attr("class","acf-options-page-modal-error").appendTo(t)})},p=function(e){e.success&&e.data.menu_slug?(n.prepend('<option value="'+e.data.menu_slug+'">'+e.data.page_title+"</option>"),n.val(e.data.menu_slug),o.close()):!e.success&&e.data.error&&alert(e.data.error)};!function(){const t=e(".acf-headerbar-title-field").val(),a={action:"acf/create_options_page",acf_parent_page_choices:this.acf.data.optionPageParentOptions?this.acf.data.optionPageParentOptions:[]};t.length&&(a.field_group_title=t),e.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a),type:"post",dataType:"json",success:s})}()}})}(jQuery)}},t={};function a(n){var o=t[n];if(void 0!==o)return o.exports;var s=t[n]={exports:{}};return e[n](s,s.exports,a),s.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";a(805)})()})();
|
(()=>{var e={805:()=>{!function(e){const t=function(t){return void 0===t.element?t:t.children&&"None"===t.text?void 0:("acfOptionsPages"===t.text&&(t.text=acf.__("Options Pages")),e('<span class="acf-selection"></span>').data("element",t.element).html(acf.strEscape(t.text)))},a=function(t){if(void 0===t.element)return t;const a=e('<span class="acf-selection"></span>');return a.html(acf.strEscape(t.element.innerHTML)),"options"!==t.id&&"edit_posts"!==t.id||a.append('<span class="acf-select2-default-pill">'+acf.__("Default")+"</span>"),a.data("element",t.element),a};new acf.Model({id:"UIOptionsPageManager",wait:"ready",events:{"change .acf-options-page-parent_slug":"toggleMenuPositionDesc"},initialize:function(){"ui_options_page"===acf.get("screen")&&(acf.newSelect2(e("select.acf-options-page-parent_slug"),{field:!1,templateSelection:t,templateResult:t,dropdownCssClass:"field-type-select-results"}),acf.newSelect2(e("select.acf-options-page-capability"),{field:!1,templateSelection:a,templateResult:a}),acf.newSelect2(e("select.acf-options-page-data_storage"),{field:!1,templateSelection:a,templateResult:a}),this.toggleMenuPositionDesc())},toggleMenuPositionDesc:function(t,a){"none"===e("select.acf-options-page-parent_slug").val()?(e(".acf-menu-position-desc-child").hide(),e(".acf-menu-position-desc-parent").show()):(e(".acf-menu-position-desc-parent").hide(),e(".acf-menu-position-desc-child").show())}}),new acf.Model({id:"optionsPageModalManager",events:{"change .location-rule-value":"createOptionsPage"},createOptionsPage:function(a){const n=e(a.target);if("add_new_options_page"!==n.val())return;let o=!1;const s=function(a){o=acf.newPopup({title:a.data.title,content:a.data.content,width:"600px"}),o.$el.addClass("acf-create-options-page-popup");const n=o.$el.find("#acf_ui_options_page-page_title"),s=n.val();n.trigger("focus").val("").val(s),acf.newSelect2(e("#acf_ui_options_page-parent_slug"),{field:!1,templateSelection:t,templateResult:t,dropdownCssClass:"field-type-select-results"}),o.on("submit","form",c)},c=function(t){t.preventDefault(),acf.validateForm({form:e("#acf-create-options-page-form"),success:i,failure:l})},i=function(){const t=e("#acf-create-options-page-form").serializeArray(),a={action:"acf/create_options_page"};t.forEach(e=>{a[e.name]=e.value}),e.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a),type:"post",dataType:"json",success:p})},l=function(t){const a=e("#acf-create-options-page-form"),n=a.find(".acf-field .acf-error-message");a.find(".acf-notice").first().remove(),n.each(function(){const t=e(this).closest(".acf-field").find(".acf-label:first");e(this).attr("class","acf-options-page-modal-error").appendTo(t)})},p=function(e){e.success&&e.data.menu_slug?(n.prepend('<option value="'+e.data.menu_slug+'">'+e.data.page_title+"</option>"),n.val(e.data.menu_slug),o.close()):!e.success&&e.data.error&&alert(e.data.error)};!function(){const t=e(".acf-headerbar-title-field").val(),a={action:"acf/create_options_page",acf_parent_page_choices:this.acf.data.optionPageParentOptions?this.acf.data.optionPageParentOptions:[]};t.length&&(a.field_group_title=t),e.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a),type:"post",dataType:"json",success:s})}()}})}(jQuery)}},t={};function a(n){var o=t[n];if(void 0!==o)return o.exports;var s=t[n]={exports:{}};return e[n](s,s.exports,a),s.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";a(805)})()})();
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<svg width="1064" height="208" viewBox="0 0 1064 208" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="1064" height="208" viewBox="0 0 1064 208" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<path d="M1058.44 56.71L1054.62 65.8L1050.83 56.71H1048.14V69.17H1050.35V60.78L1054.04 69.17H1055.25L1058.9 60.81V69.17H1061.16V56.71H1058.44Z" fill="#002447"/>
|
<path d="M1060.27 64.01C1059.68 62.62 1058.85 61.4 1057.8 60.34C1056.74 59.29 1055.52 58.46 1054.13 57.87C1052.74 57.28 1051.25 56.98 1049.65 56.98C1048.05 56.98 1046.57 57.28 1045.17 57.87C1043.78 58.46 1042.56 59.29 1041.5 60.34C1040.44 61.4 1039.62 62.62 1039.02 64.01C1038.43 65.4 1038.13 66.89 1038.13 68.49C1038.13 70.09 1038.43 71.57 1039.02 72.97C1039.61 74.36 1040.44 75.58 1041.5 76.64C1042.55 77.7 1043.78 78.52 1045.17 79.11C1046.56 79.7 1048.05 80 1049.65 80C1051.25 80 1052.73 79.7 1054.13 79.11C1055.52 78.52 1056.74 77.69 1057.8 76.64C1058.86 75.58 1059.68 74.36 1060.27 72.97C1060.86 71.58 1061.16 70.09 1061.16 68.49C1061.16 66.89 1060.86 65.41 1060.27 64.01ZM1057.75 73.19C1056.91 74.61 1055.78 75.73 1054.36 76.58C1052.94 77.42 1051.37 77.85 1049.65 77.85C1047.93 77.85 1046.35 77.43 1044.94 76.58C1043.53 75.74 1042.4 74.61 1041.55 73.19C1040.71 71.77 1040.28 70.2 1040.28 68.48C1040.28 66.76 1040.7 65.18 1041.55 63.77C1042.39 62.36 1043.52 61.23 1044.94 60.38C1046.36 59.54 1047.93 59.11 1049.65 59.11C1051.37 59.11 1052.95 59.53 1054.36 60.38C1055.78 61.22 1056.9 62.35 1057.75 63.77C1058.59 65.19 1059.02 66.76 1059.02 68.48C1059.02 70.2 1058.6 71.78 1057.75 73.19Z" fill="#002447"/>
|
||||||
<path d="M1036.16 58.66H1039.93V69.17H1042.18V58.66H1045.95V56.71H1036.16V58.66Z" fill="#002447"/>
|
<path d="M1052.32 69.44C1052.32 69.44 1052.34 69.44 1052.35 69.43C1052.87 69.15 1053.3 68.75 1053.64 68.23C1053.98 67.71 1054.15 67.09 1054.15 66.37C1054.15 65.65 1053.98 65.04 1053.65 64.55C1053.32 64.06 1052.9 63.68 1052.4 63.43C1051.9 63.18 1051.38 63.05 1050.84 63.05H1046C1045.86 63.05 1045.75 63.16 1045.75 63.3V73.42C1045.75 73.56 1045.86 73.67 1046 73.67H1047.36C1047.5 73.67 1047.61 73.56 1047.61 73.42V69.86H1050.53L1052.45 73.54C1052.49 73.62 1052.58 73.67 1052.67 73.67H1054.19C1054.37 73.67 1054.49 73.48 1054.4 73.32L1052.33 69.45L1052.32 69.44ZM1051.55 67.87C1051.16 68.22 1050.72 68.4 1050.23 68.4H1047.6V64.5H1050.28C1050.74 64.5 1051.16 64.64 1051.55 64.93C1051.94 65.22 1052.13 65.7 1052.13 66.37C1052.13 67.04 1051.94 67.52 1051.55 67.87Z" fill="#002447"/>
|
||||||
<path d="M387.93 56.01H364.88C364.41 56.01 364 56.33 363.9 56.79C362.34 64.07 350.48 119.72 349.82 124.39C349.77 124.74 349.55 124.74 349.5 124.39C348.76 119.72 335.93 63.99 334.27 56.77C334.17 56.32 333.76 56 333.3 56H311.79C311.32 56 310.92 56.31 310.82 56.77C309.15 63.98 296.28 119.72 295.56 124.39C295.49 124.82 295.24 124.82 295.17 124.39C294.49 119.72 282.67 64.08 281.12 56.79C281.02 56.33 280.62 56 280.14 56H257.09C256.43 56 255.95 56.62 256.12 57.26L281.19 151.13C281.31 151.57 281.7 151.87 282.16 151.87H306.4C306.86 151.87 307.26 151.56 307.37 151.11C308.89 144.7 319.55 99.78 321.96 89.27C322.08 88.75 322.81 88.75 322.93 89.27C325.37 99.77 336.16 144.71 337.69 151.11C337.8 151.56 338.2 151.87 338.66 151.87H362.84C363.29 151.87 363.69 151.57 363.81 151.13L388.88 57.26C389.05 56.63 388.57 56 387.91 56L387.93 56.01Z" fill="#002447"/>
|
<path d="M387.93 56.01H364.88C364.41 56.01 364 56.33 363.9 56.79C362.34 64.07 350.48 119.72 349.82 124.39C349.77 124.74 349.55 124.74 349.5 124.39C348.76 119.72 335.93 63.99 334.27 56.77C334.17 56.32 333.76 56 333.3 56H311.79C311.32 56 310.92 56.31 310.82 56.77C309.15 63.98 296.28 119.72 295.56 124.39C295.49 124.82 295.24 124.82 295.17 124.39C294.49 119.72 282.67 64.08 281.12 56.79C281.02 56.33 280.62 56 280.14 56H257.09C256.43 56 255.95 56.62 256.12 57.26L281.19 151.13C281.31 151.57 281.7 151.87 282.16 151.87H306.4C306.86 151.87 307.26 151.56 307.37 151.11C308.89 144.7 319.55 99.78 321.96 89.27C322.08 88.75 322.81 88.75 322.93 89.27C325.37 99.77 336.16 144.71 337.69 151.11C337.8 151.56 338.2 151.87 338.66 151.87H362.84C363.29 151.87 363.69 151.57 363.81 151.13L388.88 57.26C389.05 56.63 388.57 56 387.91 56L387.93 56.01Z" fill="#002447"/>
|
||||||
<path d="M462.52 60.19C457.29 57.4 451.07 56.01 443.86 56.01H406.59C406.04 56.01 405.59 56.46 405.59 57.01V150.88C405.59 151.43 406.04 151.88 406.59 151.88H427.3C427.85 151.88 428.3 151.43 428.3 150.88V121.96H443.21C450.54 121.96 456.87 120.59 462.19 117.84C467.51 115.1 471.61 111.28 474.48 106.39C477.35 101.5 478.79 95.75 478.79 89.15C478.79 82.55 477.38 76.82 474.57 71.84C471.76 66.86 467.74 62.98 462.51 60.19H462.52ZM455.41 96.93C454.21 99.16 452.41 100.9 450 102.14C447.6 103.38 444.62 104.01 441.06 104.01H428.31V74.41H441C444.56 74.41 447.55 75.01 449.97 76.21C452.39 77.41 454.2 79.12 455.41 81.33C456.61 83.54 457.21 86.15 457.21 89.15C457.21 92.15 456.61 94.71 455.41 96.94V96.93Z" fill="#002447"/>
|
<path d="M462.52 60.19C457.29 57.4 451.07 56.01 443.86 56.01H406.59C406.04 56.01 405.59 56.46 405.59 57.01V150.88C405.59 151.43 406.04 151.88 406.59 151.88H427.3C427.85 151.88 428.3 151.43 428.3 150.88V121.96H443.21C450.54 121.96 456.87 120.59 462.19 117.84C467.51 115.1 471.61 111.28 474.48 106.39C477.35 101.5 478.79 95.75 478.79 89.15C478.79 82.55 477.38 76.82 474.57 71.84C471.76 66.86 467.74 62.98 462.51 60.19H462.52ZM455.41 96.93C454.21 99.16 452.41 100.9 450 102.14C447.6 103.38 444.62 104.01 441.06 104.01H428.31V74.41H441C444.56 74.41 447.55 75.01 449.97 76.21C452.39 77.41 454.2 79.12 455.41 81.33C456.61 83.54 457.21 86.15 457.21 89.15C457.21 92.15 456.61 94.71 455.41 96.94V96.93Z" fill="#002447"/>
|
||||||
<path d="M583.93 67.87C580.2 64.11 576 61.31 571.33 59.47C566.66 57.63 561.8 56.71 556.75 56.71C548.73 56.71 541.69 58.77 535.63 62.89C529.56 67.01 524.84 72.66 521.47 79.85C518.09 87.04 516.41 95.28 516.41 104.55C516.41 113.82 518.13 122.04 521.56 129.17C524.99 136.31 529.85 141.89 536.14 145.93C542.43 149.96 549.88 151.98 558.5 151.98C564.7 151.98 570.19 150.98 574.97 148.97C579.75 146.97 583.71 144.32 586.87 141.02C589.75 138.01 591.91 134.78 593.35 131.32C593.57 130.78 593.27 130.17 592.72 129.99L583.98 127.21C583.49 127.06 582.98 127.3 582.77 127.76C581.68 130.14 580.14 132.35 578.14 134.39C575.92 136.67 573.17 138.5 569.91 139.87C566.64 141.24 562.87 141.93 558.59 141.93C552.28 141.93 546.8 140.44 542.16 137.44C537.52 134.45 533.94 130.25 531.41 124.84C529.05 119.79 527.81 113.95 527.65 107.34H594.97C595.52 107.34 595.97 106.89 595.97 106.34V102.48C595.97 94.69 594.9 87.91 592.76 82.14C590.62 76.38 587.68 71.61 583.95 67.85L583.93 67.87ZM531.28 83.55C533.72 78.5 537.13 74.44 541.49 71.36C545.85 68.29 550.95 66.75 556.77 66.75C562.59 66.75 567.67 68.26 571.84 71.28C576.01 74.3 579.22 78.42 581.47 83.63C583.3 87.87 584.38 92.57 584.72 97.71H527.69C527.98 92.62 529.17 87.9 531.28 83.55Z" fill="#002447"/>
|
<path d="M583.93 67.87C580.2 64.11 576 61.31 571.33 59.47C566.66 57.63 561.8 56.71 556.75 56.71C548.73 56.71 541.69 58.77 535.63 62.89C529.56 67.01 524.84 72.66 521.47 79.85C518.09 87.04 516.41 95.28 516.41 104.55C516.41 113.82 518.13 122.04 521.56 129.17C524.99 136.31 529.85 141.89 536.14 145.93C542.43 149.96 549.88 151.98 558.5 151.98C564.7 151.98 570.19 150.98 574.97 148.97C579.75 146.97 583.71 144.32 586.87 141.02C589.75 138.01 591.91 134.78 593.35 131.32C593.57 130.78 593.27 130.17 592.72 129.99L583.98 127.21C583.49 127.06 582.98 127.3 582.77 127.76C581.68 130.14 580.14 132.35 578.14 134.39C575.92 136.67 573.17 138.5 569.91 139.87C566.64 141.24 562.87 141.93 558.59 141.93C552.28 141.93 546.8 140.44 542.16 137.44C537.52 134.45 533.94 130.25 531.41 124.84C529.05 119.79 527.81 113.95 527.65 107.34H594.97C595.52 107.34 595.97 106.89 595.97 106.34V102.48C595.97 94.69 594.9 87.91 592.76 82.14C590.62 76.38 587.68 71.61 583.95 67.85L583.93 67.87ZM531.28 83.55C533.72 78.5 537.13 74.44 541.49 71.36C545.85 68.29 550.95 66.75 556.77 66.75C562.59 66.75 567.67 68.26 571.84 71.28C576.01 74.3 579.22 78.42 581.47 83.63C583.3 87.87 584.38 92.57 584.72 97.71H527.69C527.98 92.62 529.17 87.9 531.28 83.55Z" fill="#002447"/>
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 12 KiB |
|
|
@ -1,12 +1,12 @@
|
||||||
<svg width="1064" height="208" viewBox="0 0 1064 208" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="1064" height="208" viewBox="0 0 1064 208" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<path d="M1058.44 56.71L1054.62 65.8L1050.83 56.71H1048.14V69.17H1050.35V60.78L1054.04 69.17H1055.25L1058.9 60.81V69.17H1061.16V56.71H1058.44Z" fill="white"/>
|
<path d="M1060.27 64.01C1059.68 62.62 1058.85 61.4 1057.8 60.34C1056.74 59.29 1055.52 58.46 1054.13 57.87C1052.74 57.28 1051.25 56.98 1049.65 56.98C1048.05 56.98 1046.57 57.28 1045.17 57.87C1043.78 58.46 1042.56 59.29 1041.5 60.34C1040.44 61.4 1039.62 62.62 1039.02 64.01C1038.43 65.4 1038.13 66.89 1038.13 68.49C1038.13 70.09 1038.43 71.57 1039.02 72.97C1039.61 74.36 1040.44 75.58 1041.5 76.64C1042.55 77.7 1043.78 78.52 1045.17 79.11C1046.56 79.7 1048.05 80 1049.65 80C1051.25 80 1052.73 79.7 1054.13 79.11C1055.52 78.52 1056.74 77.69 1057.8 76.64C1058.86 75.58 1059.68 74.36 1060.27 72.97C1060.86 71.58 1061.16 70.09 1061.16 68.49C1061.16 66.89 1060.86 65.41 1060.27 64.01ZM1057.75 73.19C1056.91 74.61 1055.78 75.73 1054.36 76.58C1052.94 77.42 1051.37 77.85 1049.65 77.85C1047.93 77.85 1046.35 77.43 1044.94 76.58C1043.53 75.74 1042.4 74.61 1041.55 73.19C1040.71 71.77 1040.28 70.2 1040.28 68.48C1040.28 66.76 1040.7 65.18 1041.55 63.77C1042.39 62.36 1043.52 61.23 1044.94 60.38C1046.36 59.54 1047.93 59.11 1049.65 59.11C1051.37 59.11 1052.95 59.53 1054.36 60.38C1055.78 61.22 1056.9 62.35 1057.75 63.77C1058.59 65.19 1059.02 66.76 1059.02 68.48C1059.02 70.2 1058.6 71.78 1057.75 73.19Z" fill="white"/>
|
||||||
<path d="M1036.16 58.66H1039.93V69.17H1042.18V58.66H1045.95V56.71H1036.16V58.66Z" fill="white"/>
|
<path d="M1052.32 69.44C1052.32 69.44 1052.34 69.44 1052.35 69.43C1052.87 69.15 1053.3 68.75 1053.64 68.23C1053.98 67.71 1054.15 67.09 1054.15 66.37C1054.15 65.65 1053.98 65.04 1053.65 64.55C1053.32 64.06 1052.9 63.68 1052.4 63.43C1051.9 63.18 1051.38 63.05 1050.84 63.05H1046C1045.86 63.05 1045.75 63.16 1045.75 63.3V73.42C1045.75 73.56 1045.86 73.67 1046 73.67H1047.36C1047.5 73.67 1047.61 73.56 1047.61 73.42V69.86H1050.53L1052.45 73.54C1052.49 73.62 1052.58 73.67 1052.67 73.67H1054.19C1054.37 73.67 1054.49 73.48 1054.4 73.32L1052.33 69.45L1052.32 69.44ZM1051.55 67.87C1051.16 68.22 1050.72 68.4 1050.23 68.4H1047.6V64.5H1050.28C1050.74 64.5 1051.16 64.64 1051.55 64.93C1051.94 65.22 1052.13 65.7 1052.13 66.37C1052.13 67.04 1051.94 67.52 1051.55 67.87Z" fill="white"/>
|
||||||
<path d="M387.93 56.01H364.88C364.41 56.01 364 56.33 363.9 56.79C362.34 64.07 350.48 119.72 349.82 124.39C349.77 124.74 349.55 124.74 349.5 124.39C348.76 119.72 335.93 63.99 334.27 56.77C334.17 56.32 333.76 56 333.3 56H311.79C311.32 56 310.92 56.31 310.82 56.77C309.15 63.98 296.28 119.72 295.56 124.39C295.49 124.82 295.24 124.82 295.17 124.39C294.49 119.72 282.67 64.08 281.12 56.79C281.02 56.33 280.62 56 280.14 56H257.09C256.43 56 255.95 56.62 256.12 57.26L281.19 151.13C281.31 151.57 281.7 151.87 282.16 151.87H306.4C306.86 151.87 307.26 151.56 307.37 151.11C308.89 144.7 319.55 99.78 321.96 89.27C322.08 88.75 322.81 88.75 322.93 89.27C325.37 99.77 336.16 144.71 337.69 151.11C337.8 151.56 338.2 151.87 338.66 151.87H362.84C363.29 151.87 363.69 151.57 363.81 151.13L388.88 57.26C389.05 56.63 388.57 56 387.91 56L387.93 56.01Z" fill="white"/>
|
<path d="M387.93 56.01H364.88C364.41 56.01 364 56.33 363.9 56.79C362.34 64.07 350.48 119.72 349.82 124.39C349.77 124.74 349.55 124.74 349.5 124.39C348.76 119.72 335.93 63.99 334.27 56.77C334.17 56.32 333.76 56 333.3 56H311.79C311.32 56 310.92 56.31 310.82 56.77C309.15 63.98 296.28 119.72 295.56 124.39C295.49 124.82 295.24 124.82 295.17 124.39C294.49 119.72 282.67 64.08 281.12 56.79C281.02 56.33 280.62 56 280.14 56H257.09C256.43 56 255.95 56.62 256.12 57.26L281.19 151.13C281.31 151.57 281.7 151.87 282.16 151.87H306.4C306.86 151.87 307.26 151.56 307.37 151.11C308.89 144.7 319.55 99.78 321.96 89.27C322.08 88.75 322.81 88.75 322.93 89.27C325.37 99.77 336.16 144.71 337.69 151.11C337.8 151.56 338.2 151.87 338.66 151.87H362.84C363.29 151.87 363.69 151.57 363.81 151.13L388.88 57.26C389.05 56.63 388.57 56 387.91 56L387.93 56.01Z" fill="white"/>
|
||||||
<path d="M462.52 60.19C457.29 57.4 451.07 56.01 443.86 56.01H406.59C406.04 56.01 405.59 56.46 405.59 57.01V150.88C405.59 151.43 406.04 151.88 406.59 151.88H427.3C427.85 151.88 428.3 151.43 428.3 150.88V121.96H443.21C450.54 121.96 456.87 120.59 462.19 117.84C467.51 115.1 471.61 111.28 474.48 106.39C477.35 101.5 478.79 95.75 478.79 89.15C478.79 82.55 477.38 76.82 474.57 71.84C471.76 66.86 467.74 62.98 462.51 60.19H462.52ZM455.41 96.93C454.21 99.16 452.41 100.9 450 102.14C447.6 103.38 444.62 104.01 441.06 104.01H428.31V74.41H441C444.56 74.41 447.55 75.01 449.97 76.21C452.39 77.41 454.2 79.12 455.41 81.33C456.61 83.54 457.21 86.15 457.21 89.15C457.21 92.15 456.61 94.71 455.41 96.94V96.93Z" fill="white"/>
|
<path d="M462.52 60.19C457.29 57.4 451.07 56.01 443.86 56.01H406.59C406.04 56.01 405.59 56.46 405.59 57.01V150.88C405.59 151.43 406.04 151.88 406.59 151.88H427.3C427.85 151.88 428.3 151.43 428.3 150.88V121.96H443.21C450.54 121.96 456.87 120.59 462.19 117.84C467.51 115.1 471.61 111.28 474.48 106.39C477.35 101.5 478.79 95.75 478.79 89.15C478.79 82.55 477.38 76.82 474.57 71.84C471.76 66.86 467.74 62.98 462.51 60.19H462.52ZM455.41 96.93C454.21 99.16 452.41 100.9 450 102.14C447.6 103.38 444.62 104.01 441.06 104.01H428.31V74.41H441C444.56 74.41 447.55 75.01 449.97 76.21C452.39 77.41 454.2 79.12 455.41 81.33C456.61 83.54 457.21 86.15 457.21 89.15C457.21 92.15 456.61 94.71 455.41 96.94V96.93Z" fill="white"/>
|
||||||
<path d="M583.93 67.87C580.2 64.11 576 61.31 571.33 59.47C566.66 57.63 561.8 56.71 556.75 56.71C548.73 56.71 541.69 58.77 535.63 62.89C529.56 67.01 524.84 72.66 521.47 79.85C518.09 87.04 516.41 95.28 516.41 104.55C516.41 113.82 518.13 122.04 521.56 129.17C524.99 136.31 529.85 141.89 536.14 145.93C542.43 149.96 549.88 151.98 558.5 151.98C564.7 151.98 570.19 150.98 574.97 148.97C579.75 146.97 583.71 144.32 586.87 141.02C589.75 138.01 591.91 134.78 593.35 131.32C593.57 130.78 593.27 130.17 592.72 129.99L583.98 127.21C583.49 127.06 582.98 127.3 582.77 127.76C581.68 130.14 580.14 132.35 578.14 134.39C575.92 136.67 573.17 138.5 569.91 139.87C566.64 141.24 562.87 141.93 558.59 141.93C552.28 141.93 546.8 140.44 542.16 137.44C537.52 134.45 533.94 130.25 531.41 124.84C529.05 119.79 527.81 113.95 527.65 107.34H594.97C595.52 107.34 595.97 106.89 595.97 106.34V102.48C595.97 94.69 594.9 87.91 592.76 82.14C590.62 76.38 587.68 71.61 583.95 67.85L583.93 67.87ZM531.28 83.55C533.72 78.5 537.13 74.44 541.49 71.36C545.85 68.29 550.95 66.75 556.77 66.75C562.59 66.75 567.67 68.26 571.84 71.28C576.01 74.3 579.22 78.42 581.47 83.63C583.3 87.87 584.38 92.57 584.72 97.71H527.69C527.98 92.62 529.17 87.9 531.28 83.55Z" fill="white"/>
|
<path d="M583.93 67.87C580.2 64.11 576 61.31 571.33 59.47C566.66 57.63 561.8 56.71 556.75 56.71C548.73 56.71 541.69 58.77 535.63 62.89C529.56 67.01 524.84 72.66 521.47 79.85C518.09 87.04 516.41 95.28 516.41 104.55C516.41 113.82 518.13 122.04 521.56 129.17C524.99 136.31 529.85 141.89 536.14 145.93C542.43 149.96 549.88 151.98 558.5 151.98C564.7 151.98 570.19 150.98 574.97 148.97C579.75 146.97 583.71 144.32 586.87 141.02C589.75 138.01 591.91 134.78 593.35 131.32C593.57 130.78 593.27 130.17 592.72 129.99L583.98 127.21C583.49 127.06 582.98 127.3 582.77 127.76C581.68 130.14 580.14 132.35 578.14 134.39C575.92 136.67 573.17 138.5 569.91 139.87C566.64 141.24 562.87 141.93 558.59 141.93C552.28 141.93 546.8 140.44 542.16 137.44C537.52 134.45 533.94 130.25 531.41 124.84C529.05 119.79 527.81 113.95 527.65 107.34H594.97C595.52 107.34 595.97 106.89 595.97 106.34V102.48C595.97 94.69 594.9 87.91 592.76 82.14C590.62 76.38 587.68 71.61 583.95 67.85L583.93 67.87ZM531.28 83.55C533.72 78.5 537.13 74.44 541.49 71.36C545.85 68.29 550.95 66.75 556.77 66.75C562.59 66.75 567.67 68.26 571.84 71.28C576.01 74.3 579.22 78.42 581.47 83.63C583.3 87.87 584.38 92.57 584.72 97.71H527.69C527.98 92.62 529.17 87.9 531.28 83.55Z" fill="white"/>
|
||||||
<path d="M672.03 60.62C667.34 58.01 661.86 56.71 655.6 56.71C648.63 56.71 642.44 58.49 637.03 62.06C632.71 64.91 629.32 69.2 626.84 74.89L626.78 58.94C626.78 58.39 626.33 57.94 625.78 57.94H616.99C616.44 57.94 615.99 58.39 615.99 58.94V149C615.99 149.55 616.44 150 616.99 150H626.19C626.74 150 627.19 149.55 627.19 149V92.61C627.19 87.34 628.3 82.77 630.52 78.9C632.74 75.03 635.78 72.07 639.62 70.01C643.46 67.95 647.8 66.92 652.63 66.92C659.71 66.92 665.36 69.1 669.59 73.47C673.82 77.83 675.93 83.78 675.93 91.3V149.01C675.93 149.56 676.38 150.01 676.93 150.01H686.05C686.6 150.01 687.05 149.56 687.05 149.01V90.48C687.05 83.18 685.72 77.03 683.06 72.03C680.4 67.04 676.72 63.23 672.03 60.63V60.62Z" fill="white"/>
|
<path d="M672.03 60.62C667.34 58.01 661.86 56.71 655.6 56.71C648.63 56.71 642.44 58.49 637.03 62.06C632.71 64.91 629.32 69.2 626.84 74.89L626.78 58.94C626.78 58.39 626.33 57.94 625.78 57.94H616.99C616.44 57.94 615.99 58.39 615.99 58.94V149C615.99 149.55 616.44 150 616.99 150H626.19C626.74 150 627.19 149.55 627.19 149V92.61C627.19 87.34 628.3 82.77 630.52 78.9C632.74 75.03 635.78 72.07 639.62 70.01C643.46 67.95 647.8 66.92 652.63 66.92C659.71 66.92 665.36 69.1 669.59 73.47C673.82 77.83 675.93 83.78 675.93 91.3V149.01C675.93 149.56 676.38 150.01 676.93 150.01H686.05C686.6 150.01 687.05 149.56 687.05 149.01V90.48C687.05 83.18 685.72 77.03 683.06 72.03C680.4 67.04 676.72 63.23 672.03 60.63V60.62Z" fill="white"/>
|
||||||
<path d="M783.6 57.94H774.73C774.18 57.94 773.73 58.39 773.73 58.94V75.64H772.58C771.37 72.84 769.63 69.97 767.35 67.04C765.07 64.1 762.07 61.65 758.33 59.67C754.6 57.69 749.93 56.71 744.33 56.71C736.81 56.71 730.19 58.69 724.48 62.64C718.77 66.59 714.32 72.1 711.14 79.15C707.96 86.2 706.36 94.43 706.36 103.81C706.36 113.19 707.98 121.27 711.22 128.02C714.46 134.77 718.92 139.96 724.6 143.58C730.28 147.2 736.77 149.01 744.07 149.01C749.56 149.01 754.17 148.12 757.9 146.33C761.63 144.55 764.67 142.27 767 139.5C769.33 136.73 771.1 133.91 772.31 131.06H773.38V151.73C773.38 160.18 770.91 166.43 765.97 170.46C761.03 174.5 754.5 176.51 746.37 176.51C741.26 176.51 736.95 175.81 733.44 174.41C729.93 173.01 727.06 171.2 724.83 168.98C722.88 167.03 721.28 165.03 720.03 162.97C719.74 162.5 719.13 162.34 718.66 162.62L711.11 167.2C710.66 167.48 710.49 168.06 710.74 168.53C712.51 171.81 714.89 174.74 717.88 177.33C721.12 180.13 725.11 182.34 729.86 183.96C734.61 185.58 740.11 186.39 746.37 186.39C753.73 186.39 760.29 185.17 766.05 182.73C771.81 180.29 776.34 176.54 779.64 171.49C782.93 166.44 784.58 160.02 784.58 152.22V58.94C784.58 58.39 784.13 57.94 783.58 57.94H783.6ZM770.28 122.54C768.08 127.84 764.91 131.9 760.77 134.73C756.62 137.56 751.62 138.97 745.74 138.97C739.86 138.97 734.68 137.48 730.51 134.48C726.34 131.49 723.15 127.33 720.96 122.01C718.76 116.69 717.67 110.54 717.67 103.56C717.67 96.58 718.75 90.5 720.92 84.95C723.09 79.41 726.26 75 730.43 71.73C734.6 68.46 739.71 66.83 745.75 66.83C751.79 66.83 756.78 68.41 760.9 71.56C765.02 74.72 768.16 79.05 770.33 84.57C772.5 90.09 773.58 96.41 773.58 103.55C773.58 110.69 772.48 117.23 770.29 122.53L770.28 122.54Z" fill="white"/>
|
<path d="M783.6 57.94H774.73C774.18 57.94 773.73 58.39 773.73 58.94V75.64H772.58C771.37 72.84 769.63 69.97 767.35 67.04C765.07 64.1 762.07 61.65 758.33 59.67C754.6 57.69 749.93 56.71 744.33 56.71C736.81 56.71 730.19 58.69 724.48 62.64C718.77 66.59 714.32 72.1 711.14 79.15C707.96 86.2 706.36 94.43 706.36 103.81C706.36 113.19 707.98 121.27 711.22 128.02C714.46 134.77 718.92 139.96 724.6 143.58C730.28 147.2 736.77 149.01 744.07 149.01C749.56 149.01 754.17 148.12 757.9 146.33C761.63 144.55 764.67 142.27 767 139.5C769.33 136.73 771.1 133.91 772.31 131.06H773.38V151.73C773.38 160.18 770.91 166.43 765.97 170.46C761.03 174.5 754.5 176.51 746.37 176.51C741.26 176.51 736.95 175.81 733.44 174.41C729.93 173.01 727.06 171.2 724.83 168.98C722.88 167.03 721.28 165.03 720.03 162.97C719.74 162.5 719.13 162.34 718.66 162.62L711.11 167.2C710.66 167.48 710.49 168.06 710.74 168.53C712.51 171.81 714.89 174.74 717.88 177.33C721.12 180.13 725.11 182.34 729.86 183.96C734.61 185.58 740.11 186.39 746.37 186.39C753.73 186.39 760.29 185.17 766.05 182.73C771.81 180.29 776.34 176.54 779.64 171.49C782.93 166.44 784.58 160.02 784.58 152.22V58.94C784.58 58.39 784.13 57.94 783.58 57.94H783.6ZM770.28 122.54C768.08 127.84 764.91 131.9 760.77 134.73C756.62 137.56 751.62 138.97 745.74 138.97C739.86 138.97 734.68 137.48 730.51 134.48C726.34 131.49 723.15 127.33 720.96 122.01C718.76 116.69 717.67 110.54 717.67 103.56C717.67 96.58 718.75 90.5 720.92 84.95C723.09 79.41 726.26 75 730.43 71.73C734.6 68.46 739.71 66.83 745.75 66.83C751.79 66.83 756.78 68.41 760.9 71.56C765.02 74.72 768.16 79.05 770.33 84.57C772.5 90.09 773.58 96.41 773.58 103.55C773.58 110.69 772.48 117.23 770.29 122.53L770.28 122.54Z" fill="white"/>
|
||||||
<path d="M823.62 57.94H814.42C813.868 57.94 813.42 58.3877 813.42 58.94V149C813.42 149.552 813.868 150 814.42 150H823.62C824.173 150 824.62 149.552 824.62 149V58.94C824.62 58.3877 824.173 57.94 823.62 57.94Z" fill="white"/>
|
<path d="M823.62 57.94H814.42C813.868 57.94 813.42 58.3877 813.42 58.94V149C813.42 149.552 813.868 150 814.42 150H823.62C824.172 150 824.62 149.552 824.62 149V58.94C824.62 58.3877 824.172 57.94 823.62 57.94Z" fill="white"/>
|
||||||
<path d="M819.02 44.89C822.516 44.89 825.35 42.0559 825.35 38.56C825.35 35.064 822.516 32.23 819.02 32.23C815.524 32.23 812.69 35.064 812.69 38.56C812.69 42.0559 815.524 44.89 819.02 44.89Z" fill="white"/>
|
<path d="M819.02 44.89C822.516 44.89 825.35 42.0559 825.35 38.56C825.35 35.064 822.516 32.23 819.02 32.23C815.524 32.23 812.69 35.064 812.69 38.56C812.69 42.0559 815.524 44.89 819.02 44.89Z" fill="white"/>
|
||||||
<path d="M910.3 60.62C905.61 58.01 900.13 56.71 893.87 56.71C886.9 56.71 880.71 58.49 875.3 62.06C870.98 64.91 867.59 69.2 865.11 74.89L865.05 58.94C865.05 58.39 864.6 57.94 864.05 57.94H855.26C854.71 57.94 854.26 58.39 854.26 58.94V149C854.26 149.55 854.71 150 855.26 150H864.46C865.01 150 865.46 149.55 865.46 149V92.61C865.46 87.34 866.57 82.77 868.79 78.9C871.01 75.03 874.05 72.07 877.89 70.01C881.73 67.95 886.07 66.92 890.9 66.92C897.98 66.92 903.63 69.1 907.86 73.47C912.09 77.83 914.2 83.78 914.2 91.3V149.01C914.2 149.56 914.65 150.01 915.2 150.01H924.32C924.87 150.01 925.32 149.56 925.32 149.01V90.48C925.32 83.18 923.99 77.03 921.33 72.03C918.67 67.04 914.99 63.23 910.3 60.63V60.62Z" fill="white"/>
|
<path d="M910.3 60.62C905.61 58.01 900.13 56.71 893.87 56.71C886.9 56.71 880.71 58.49 875.3 62.06C870.98 64.91 867.59 69.2 865.11 74.89L865.05 58.94C865.05 58.39 864.6 57.94 864.05 57.94H855.26C854.71 57.94 854.26 58.39 854.26 58.94V149C854.26 149.55 854.71 150 855.26 150H864.46C865.01 150 865.46 149.55 865.46 149V92.61C865.46 87.34 866.57 82.77 868.79 78.9C871.01 75.03 874.05 72.07 877.89 70.01C881.73 67.95 886.07 66.92 890.9 66.92C897.98 66.92 903.63 69.1 907.86 73.47C912.09 77.83 914.2 83.78 914.2 91.3V149.01C914.2 149.56 914.65 150.01 915.2 150.01H924.32C924.87 150.01 925.32 149.56 925.32 149.01V90.48C925.32 83.18 923.99 77.03 921.33 72.03C918.67 67.04 914.99 63.23 910.3 60.63V60.62Z" fill="white"/>
|
||||||
<path d="M1012.78 67.87C1009.05 64.11 1004.85 61.31 1000.18 59.47C995.51 57.63 990.65 56.71 985.6 56.71C977.58 56.71 970.54 58.77 964.48 62.89C958.41 67.01 953.69 72.66 950.32 79.85C946.94 87.04 945.26 95.28 945.26 104.55C945.26 113.82 946.98 122.04 950.41 129.17C953.84 136.31 958.7 141.89 964.99 145.93C971.28 149.96 978.73 151.98 987.35 151.98C993.55 151.98 999.04 150.98 1003.82 148.97C1008.6 146.97 1012.56 144.32 1015.72 141.02C1018.6 138.01 1020.76 134.78 1022.2 131.32C1022.42 130.78 1022.12 130.17 1021.57 129.99L1012.83 127.21C1012.34 127.06 1011.83 127.3 1011.62 127.76C1010.53 130.14 1008.99 132.35 1006.99 134.39C1004.77 136.67 1002.02 138.5 998.76 139.87C995.49 141.24 991.72 141.93 987.44 141.93C981.13 141.93 975.65 140.44 971.01 137.44C966.37 134.45 962.79 130.25 960.26 124.84C957.9 119.79 956.66 113.95 956.5 107.34H1023.82C1024.37 107.34 1024.82 106.89 1024.82 106.34V102.48C1024.82 94.69 1023.75 87.91 1021.61 82.14C1019.47 76.38 1016.53 71.61 1012.8 67.85L1012.78 67.87ZM960.12 83.55C962.56 78.5 965.97 74.44 970.33 71.36C974.69 68.29 979.79 66.75 985.61 66.75C991.43 66.75 996.51 68.26 1000.68 71.28C1004.85 74.3 1008.06 78.42 1010.31 83.63C1012.14 87.87 1013.22 92.57 1013.56 97.71H956.53C956.82 92.62 958.01 87.9 960.12 83.55Z" fill="white"/>
|
<path d="M1012.78 67.87C1009.05 64.11 1004.85 61.31 1000.18 59.47C995.51 57.63 990.65 56.71 985.6 56.71C977.58 56.71 970.54 58.77 964.48 62.89C958.41 67.01 953.69 72.66 950.32 79.85C946.94 87.04 945.26 95.28 945.26 104.55C945.26 113.82 946.98 122.04 950.41 129.17C953.84 136.31 958.7 141.89 964.99 145.93C971.28 149.96 978.73 151.98 987.35 151.98C993.55 151.98 999.04 150.98 1003.82 148.97C1008.6 146.97 1012.56 144.32 1015.72 141.02C1018.6 138.01 1020.76 134.78 1022.2 131.32C1022.42 130.78 1022.12 130.17 1021.57 129.99L1012.83 127.21C1012.34 127.06 1011.83 127.3 1011.62 127.76C1010.53 130.14 1008.99 132.35 1006.99 134.39C1004.77 136.67 1002.02 138.5 998.76 139.87C995.49 141.24 991.72 141.93 987.44 141.93C981.13 141.93 975.65 140.44 971.01 137.44C966.37 134.45 962.79 130.25 960.26 124.84C957.9 119.79 956.66 113.95 956.5 107.34H1023.82C1024.37 107.34 1024.82 106.89 1024.82 106.34V102.48C1024.82 94.69 1023.75 87.91 1021.61 82.14C1019.47 76.38 1016.53 71.61 1012.8 67.85L1012.78 67.87ZM960.12 83.55C962.56 78.5 965.97 74.44 970.33 71.36C974.69 68.29 979.79 66.75 985.61 66.75C991.43 66.75 996.51 68.26 1000.68 71.28C1004.85 74.3 1008.06 78.42 1010.31 83.63C1012.14 87.87 1013.22 92.57 1013.56 97.71H956.53C956.82 92.62 958.01 87.9 960.12 83.55Z" fill="white"/>
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 12 KiB |
|
|
@ -1,8 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* The ACF Update Class, responsible for talking to the connect API server and injecting PRO's update data into WordPress.
|
|
||||||
*
|
|
||||||
* @package ACF
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace ACF;
|
namespace ACF;
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Initializes ACF updater logic and logic specific to ACF direct downloads.
|
|
||||||
*
|
|
||||||
* @package ACF
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* General functions relating to the bidirectional feature of some fields.
|
|
||||||
*
|
|
||||||
* @package ACF
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
// Register store.
|
// Register store.
|
||||||
acf_register_store( 'fields' )->prop( 'multisite', true );
|
acf_register_store( 'fields' )->prop( 'multisite', true );
|
||||||
|
|
@ -828,7 +837,12 @@ function acf_render_field_label( $field ) {
|
||||||
|
|
||||||
// Output label.
|
// Output label.
|
||||||
if ( $label ) {
|
if ( $label ) {
|
||||||
echo '<label' . ( $field['id'] ? ' for="' . esc_attr( $field['id'] ) . '"' : '' ) . '>' . acf_esc_html( $label ) . '</label>';
|
// For multi-choice fields (radio, checkbox, taxonomy, button_group), don't use 'for' attribute but add ID for aria-labelledby
|
||||||
|
if ( in_array( $field['type'], array( 'radio', 'checkbox', 'taxonomy', 'button_group' ), true ) && $field['id'] ) {
|
||||||
|
echo '<label id="' . esc_attr( $field['id'] ) . '-label">' . acf_esc_html( $label ) . '</label>';
|
||||||
|
} else {
|
||||||
|
echo '<label' . ( $field['id'] ? ' for="' . esc_attr( $field['id'] ) . '"' : '' ) . '>' . acf_esc_html( $label ) . '</label>';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* acf_get_field_group
|
* acf_get_field_group
|
||||||
|
|
@ -541,3 +550,30 @@ function acf_field_group_has_location_type( int $post_id, string $location ) {
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Retrieves the field group title, or display title if set.
|
||||||
|
*
|
||||||
|
* @since 6.6
|
||||||
|
*
|
||||||
|
* @param array|integer $field_group The field group array or ID.
|
||||||
|
* @return string The field group title.
|
||||||
|
*/
|
||||||
|
function acf_get_field_group_title( $field_group ): string {
|
||||||
|
if ( is_numeric( $field_group ) ) {
|
||||||
|
$field_group = acf_get_field_group( $field_group );
|
||||||
|
}
|
||||||
|
|
||||||
|
$title = '';
|
||||||
|
if ( ! empty( $field_group['title'] ) && is_string( $field_group['title'] ) ) {
|
||||||
|
$title = $field_group['title'];
|
||||||
|
}
|
||||||
|
|
||||||
|
// Override with the Display Title if set.
|
||||||
|
if ( ! empty( $field_group['display_title'] ) && is_string( $field_group['display_title'] ) ) {
|
||||||
|
$title = $field_group['display_title'];
|
||||||
|
}
|
||||||
|
|
||||||
|
// Filter and return.
|
||||||
|
return apply_filters( 'acf/get_field_group_title', esc_html( $title ), $field_group );
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
// Register store for form data.
|
// Register store for form data.
|
||||||
acf_register_store( 'form' );
|
acf_register_store( 'form' );
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true if the value provided is considered "empty". Allows numbers such as 0.
|
* Returns true if the value provided is considered "empty". Allows numbers such as 0.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
// Register store.
|
// Register store.
|
||||||
acf_register_store( 'hook-variations' );
|
acf_register_store( 'hook-variations' );
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* acf_filter_attrs
|
* acf_filter_attrs
|
||||||
|
|
@ -333,7 +342,27 @@ function acf_get_checkbox_input( $attrs = array() ) {
|
||||||
|
|
||||||
// Render.
|
// Render.
|
||||||
$checked = isset( $attrs['checked'] );
|
$checked = isset( $attrs['checked'] );
|
||||||
return '<label' . ( $checked ? ' class="selected"' : '' ) . '><input ' . acf_esc_attrs( $attrs ) . '/> ' . acf_esc_html( $label ) . '</label>';
|
|
||||||
|
// Build label attributes array for accessibility and consistency.
|
||||||
|
$label_attrs = array();
|
||||||
|
if ( $checked ) {
|
||||||
|
$label_attrs['class'] = 'selected';
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( ! empty( $attrs['button_group'] ) ) {
|
||||||
|
unset( $attrs['button_group'] );
|
||||||
|
// If tabindex is provided, use it for the label; otherwise, use checked-based default.
|
||||||
|
if ( isset( $attrs['tabindex'] ) ) {
|
||||||
|
$label_attrs['tabindex'] = (string) $attrs['tabindex'];
|
||||||
|
unset( $attrs['tabindex'] );
|
||||||
|
} else {
|
||||||
|
$label_attrs['tabindex'] = $checked ? '0' : '-1';
|
||||||
|
}
|
||||||
|
$label_attrs['role'] = 'radio';
|
||||||
|
$label_attrs['aria-checked'] = $checked ? 'true' : 'false';
|
||||||
|
}
|
||||||
|
|
||||||
|
return '<label' . ( acf_esc_attrs( $label_attrs ) ? ' ' . acf_esc_attrs( $label_attrs ) : '' ) . '><input ' . acf_esc_attrs( $attrs ) . '/> ' . acf_esc_html( $label ) . '</label>';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,19 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Generic functions for accessing ACF objects stored as WordPress post types which aren't handled by type specific functions.
|
|
||||||
*
|
|
||||||
* @package ACF
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets an instance of an ACF_Internal_Post_Type.
|
* Gets an instance of an ACF_Internal_Post_Type.
|
||||||
*
|
*
|
||||||
* @param string $post_type The ACF internal post type to get the instance for.
|
* @param string $post_type The ACF internal post type to get the instance for.
|
||||||
* @return ACF_Internal_Post_Type|bool The internal post type class instance, or false on failure.
|
* @return ACF_Internal_Post_Type|boolean The internal post type class instance, or false on failure.
|
||||||
*/
|
*/
|
||||||
function acf_get_internal_post_type_instance( $post_type = 'acf-field-group' ) {
|
function acf_get_internal_post_type_instance( $post_type = 'acf-field-group' ) {
|
||||||
$store = acf_get_store( 'internal-post-types' );
|
$store = acf_get_store( 'internal-post-types' );
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an array of "ACF only" meta for the given post_id.
|
* Returns an array of "ACF only" meta for the given post_id.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns available templates for each post type.
|
* Returns available templates for each post type.
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Functions for ACF post type objects.
|
|
||||||
*
|
|
||||||
* @package ACF
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Functions for ACF taxonomy objects.
|
|
||||||
*
|
|
||||||
* @package ACF
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* acf_get_users
|
* acf_get_users
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
// Globals.
|
// Globals.
|
||||||
global $acf_stores, $acf_instances;
|
global $acf_stores, $acf_instances;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
// Register store.
|
// Register store.
|
||||||
acf_register_store( 'values' )->prop( 'multisite', true );
|
acf_register_store( 'values' )->prop( 'multisite', true );
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a WordPress object type.
|
* Returns a WordPress object type.
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* ACF Internal Post Type List class
|
|
||||||
*
|
|
||||||
* Base class to add functionality to ACF internal post type list pages.
|
|
||||||
*
|
|
||||||
* @package ACF
|
* @package ACF
|
||||||
* @subpackage Admin
|
* @author WP Engine
|
||||||
* @since 6.1
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* ACF Internal Post Type class
|
|
||||||
*
|
|
||||||
* Base class to add functionality to ACF internal post types.
|
|
||||||
*
|
|
||||||
* @package ACF
|
* @package ACF
|
||||||
* @subpackage Admin
|
* @author WP Engine
|
||||||
* @since 6.1
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* ACF Admin Notices
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
*
|
*
|
||||||
* Functions and classes to manage admin notices.
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
*
|
* "ACF" is a trademark of WP Engine.
|
||||||
* @date 10/1/19
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
* @since 5.7.10
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Exit if accessed directly.
|
// Exit if accessed directly.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit;
|
exit;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly
|
exit; // Exit if accessed directly
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly
|
exit; // Exit if accessed directly
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly
|
exit; // Exit if accessed directly
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* ACF Admin Field Group Class
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
*
|
*
|
||||||
* @class acf_admin_field_group
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
*
|
* "ACF" is a trademark of WP Engine.
|
||||||
* @package ACF
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
* @subpackage Admin
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! class_exists( 'acf_admin_field_group' ) ) :
|
if ( ! class_exists( 'acf_admin_field_group' ) ) :
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly
|
exit; // Exit if accessed directly
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* ACF Admin Post Type Class
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
*
|
*
|
||||||
* @class ACF_Admin_Post_Type
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
*
|
* "ACF" is a trademark of WP Engine.
|
||||||
* @package ACF
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
* @subpackage Admin
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! class_exists( 'ACF_Admin_Post_Type' ) ) :
|
if ( ! class_exists( 'ACF_Admin_Post_Type' ) ) :
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly.
|
exit; // Exit if accessed directly.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly.
|
exit; // Exit if accessed directly.
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* ACF Admin Taxonomy Class
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
*
|
*
|
||||||
* @class ACF_Admin_Taxonomiy
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
*
|
* "ACF" is a trademark of WP Engine.
|
||||||
* @package ACF
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
* @subpackage Admin
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! class_exists( 'ACF_Admin_Taxonomy' ) ) :
|
if ( ! class_exists( 'ACF_Admin_Taxonomy' ) ) :
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly
|
exit; // Exit if accessed directly
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly
|
exit; // Exit if accessed directly
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly
|
exit; // Exit if accessed directly
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
// vars
|
// vars
|
||||||
$disabled = false;
|
$disabled = false;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
//phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- included template file.
|
//phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- included template file.
|
||||||
|
|
||||||
// Define input name prefix using unique identifier.
|
// Define input name prefix using unique identifier.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
//phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- template include file
|
//phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- template include file
|
||||||
$field_groups = acf_get_field_groups();
|
$field_groups = acf_get_field_groups();
|
||||||
$num_field_groups = 0;
|
$num_field_groups = 0;
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,15 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* The empty list state for an ACF field group
|
|
||||||
*
|
|
||||||
* @package ACF
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
?>
|
||||||
?><script>document.body.classList.add('acf-no-field-groups');</script>
|
<script>document.body.classList.add('acf-no-field-groups');</script>
|
||||||
<div class="acf-no-field-groups-wrapper">
|
<div class="acf-no-field-groups-wrapper">
|
||||||
<div class="acf-no-field-groups-inner">
|
<div class="acf-no-field-groups-inner">
|
||||||
<img src="<?php echo esc_url( acf_get_url( 'assets/images/empty-group.svg' ) ); ?>" />
|
<img src="<?php echo esc_url( acf_get_url( 'assets/images/empty-group.svg' ) ); ?>" />
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,14 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
?>
|
||||||
<div class="rule-group" data-id="<?php echo esc_attr( $group_id ); ?>">
|
<div class="rule-group" data-id="<?php echo esc_attr( $group_id ); ?>">
|
||||||
|
|
||||||
<h4><?php echo ( $group_id == 'group_0' ) ? esc_html__( 'Show this field group if', 'acf' ) : esc_html__( 'or', 'acf' ); ?></h4>
|
<h4><?php echo ( $group_id == 'group_0' ) ? esc_html__( 'Show this field group if', 'acf' ) : esc_html__( 'or', 'acf' ); ?></h4>
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,16 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
// vars
|
// vars
|
||||||
$prefix = 'acf_field_group[location][' . $rule['group'] . '][' . $rule['id'] . ']';
|
$prefix = 'acf_field_group[location][' . $rule['group'] . '][' . $rule['id'] . ']';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<tr data-id="<?php echo esc_attr( $rule['id'] ); ?>">
|
<tr data-id="<?php echo esc_attr( $rule['id'] ); ?>">
|
||||||
<td class="param">
|
<td class="param">
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,16 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
// global
|
// global
|
||||||
global $field_group;
|
global $field_group;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div class="acf-field">
|
<div class="acf-field">
|
||||||
<div class="acf-label">
|
<div class="acf-label">
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
// global
|
// global
|
||||||
global $field_group;
|
global $field_group;
|
||||||
|
|
@ -72,6 +81,8 @@ foreach ( acf_get_combined_field_group_settings_tabs() as $tab_key => $tab_label
|
||||||
case 'location_rules':
|
case 'location_rules':
|
||||||
echo '<div class="field-group-locations field-group-settings-tab">';
|
echo '<div class="field-group-locations field-group-settings-tab">';
|
||||||
acf_get_view( 'acf-field-group/locations' );
|
acf_get_view( 'acf-field-group/locations' );
|
||||||
|
|
||||||
|
do_action( 'acf/field_group/render_additional_location_settings', $field_group );
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
break;
|
break;
|
||||||
case 'presentation':
|
case 'presentation':
|
||||||
|
|
@ -164,6 +175,8 @@ foreach ( acf_get_combined_field_group_settings_tabs() as $tab_key => $tab_label
|
||||||
'field'
|
'field'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
do_action( 'acf/field_group/render_additional_presentation_settings', $field_group );
|
||||||
|
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
echo '<div class="field-group-setting-split">';
|
echo '<div class="field-group-setting-split">';
|
||||||
|
|
||||||
|
|
@ -221,8 +234,6 @@ foreach ( acf_get_combined_field_group_settings_tabs() as $tab_key => $tab_label
|
||||||
'prefix' => 'acf_field_group',
|
'prefix' => 'acf_field_group',
|
||||||
'value' => $field_group['active'],
|
'value' => $field_group['active'],
|
||||||
'ui' => 1,
|
'ui' => 1,
|
||||||
// 'ui_on_text' => __('Active', 'acf'),
|
|
||||||
// 'ui_off_text' => __('Inactive', 'acf'),
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
@ -237,8 +248,6 @@ foreach ( acf_get_combined_field_group_settings_tabs() as $tab_key => $tab_label
|
||||||
'prefix' => 'acf_field_group',
|
'prefix' => 'acf_field_group',
|
||||||
'value' => $field_group['show_in_rest'],
|
'value' => $field_group['show_in_rest'],
|
||||||
'ui' => 1,
|
'ui' => 1,
|
||||||
// 'ui_on_text' => __('Active', 'acf'),
|
|
||||||
// 'ui_off_text' => __('Inactive', 'acf'),
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
@ -257,6 +266,21 @@ foreach ( acf_get_combined_field_group_settings_tabs() as $tab_key => $tab_label
|
||||||
'field'
|
'field'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
acf_render_field_wrap(
|
||||||
|
array(
|
||||||
|
'label' => __( 'Display Title', 'acf' ),
|
||||||
|
'instructions' => __( 'Title shown on the edit screen for the field group meta box to use instead of the field group title', 'acf' ),
|
||||||
|
'type' => 'text',
|
||||||
|
'name' => 'display_title',
|
||||||
|
'prefix' => 'acf_field_group',
|
||||||
|
'value' => $field_group['display_title'],
|
||||||
|
),
|
||||||
|
'div',
|
||||||
|
'field'
|
||||||
|
);
|
||||||
|
|
||||||
|
do_action( 'acf/field_group/render_additional_group_settings', $field_group );
|
||||||
|
|
||||||
/* translators: 1: Post creation date 2: Post creation time */
|
/* translators: 1: Post creation date 2: Post creation time */
|
||||||
$acf_created_on = sprintf( __( 'Created on %1$s at %2$s', 'acf' ), get_the_date(), get_the_time() );
|
$acf_created_on = sprintf( __( 'Created on %1$s at %2$s', 'acf' ), get_the_date(), get_the_time() );
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
$acf_field_group_pro_features_title = __( 'Unlock Advanced Features and Build Even More with ACF PRO', 'acf' );
|
$acf_field_group_pro_features_title = __( 'Unlock Advanced Features and Build Even More with ACF PRO', 'acf' );
|
||||||
$acf_learn_more_text = __( 'Learn More', 'acf' );
|
$acf_learn_more_text = __( 'Learn More', 'acf' );
|
||||||
$acf_learn_more_link = acf_add_url_utm_tags( 'https://www.advancedcustomfields.com/pro/', 'ACF upgrade', 'metabox' );
|
$acf_learn_more_link = acf_add_url_utm_tags( 'https://www.advancedcustomfields.com/pro/', 'ACF upgrade', 'metabox' );
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
global $acf_post_type;
|
global $acf_post_type;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
global $acf_post_type;
|
global $acf_post_type;
|
||||||
|
|
||||||
$acf_duplicate_post_type = acf_get_post_type_from_request_args( 'acfduplicate' );
|
$acf_duplicate_post_type = acf_get_post_type_from_request_args( 'acfduplicate' );
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,15 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* The empty list state for an ACF post type.
|
|
||||||
*
|
|
||||||
* @package ACF
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
?>
|
||||||
?><script>document.body.classList.add('acf-no-post-types');</script>
|
<script>document.body.classList.add('acf-no-post-types');</script>
|
||||||
<div class="acf-no-post-types-wrapper">
|
<div class="acf-no-post-types-wrapper">
|
||||||
<div class="acf-no-post-types-inner">
|
<div class="acf-no-post-types-inner">
|
||||||
<img src="<?php echo esc_url( acf_get_url( 'assets/images/empty-post-types.svg' ) ); ?>" />
|
<img src="<?php echo esc_url( acf_get_url( 'assets/images/empty-post-types.svg' ) ); ?>" />
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
global $acf_taxonomy;
|
global $acf_taxonomy;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
global $acf_taxonomy;
|
global $acf_taxonomy;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* The empty list state for an ACF taxonomy.
|
|
||||||
*
|
|
||||||
* @package ACF
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<script>document.body.classList.add('acf-no-taxonomies');</script>
|
<script>document.body.classList.add('acf-no-taxonomies');</script>
|
||||||
<div class="acf-no-taxonomies-wrapper">
|
<div class="acf-no-taxonomies-wrapper">
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
//phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- included template file.
|
//phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- included template file.
|
||||||
|
|
||||||
$browse_fields_tabs = array( 'popular' => __( 'Popular', 'acf' ) );
|
$browse_fields_tabs = array( 'popular' => __( 'Popular', 'acf' ) );
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
$acf_plugin_name = acf_is_pro() ? 'ACF PRO' : 'ACF';
|
$acf_plugin_name = acf_is_pro() ? 'ACF PRO' : 'ACF';
|
||||||
$acf_plugin_name = '<strong>' . $acf_plugin_name . ' —</strong>';
|
$acf_plugin_name = '<strong>' . $acf_plugin_name . ' —</strong>';
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
global $title, $post_new_file, $post_type_object, $post;
|
global $title, $post_new_file, $post_type_object, $post;
|
||||||
$acf_title_placeholder = apply_filters( 'enter_title_here', __( 'Add title' ), $post );
|
$acf_title_placeholder = apply_filters( 'enter_title_here', __( 'Add title' ), $post );
|
||||||
$acf_title = $post->post_title;
|
$acf_title = $post->post_title;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
//phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- included template file.
|
//phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- included template file.
|
||||||
|
|
||||||
global $post_type, $post_type_object, $acf_page_title;
|
global $post_type, $post_type_object, $acf_page_title;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
//phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- included template file.
|
//phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- included template file.
|
||||||
/**
|
/**
|
||||||
* The template for displaying admin navigation.
|
* The template for displaying admin navigation.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
$acf_learn_more_link = acf_add_url_utm_tags( 'https://www.advancedcustomfields.com/pro/', 'ACF upgrade', 'no-options-pages' );
|
$acf_learn_more_link = acf_add_url_utm_tags( 'https://www.advancedcustomfields.com/pro/', 'ACF upgrade', 'no-options-pages' );
|
||||||
$acf_upgrade_button = acf_add_url_utm_tags( 'https://www.advancedcustomfields.com/pro/', 'ACF upgrade', 'no-options-pages-pricing', 'pricing-table' );
|
$acf_upgrade_button = acf_add_url_utm_tags( 'https://www.advancedcustomfields.com/pro/', 'ACF upgrade', 'no-options-pages-pricing', 'pricing-table' );
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* View to output admin tools for both archive and single
|
|
||||||
*
|
|
||||||
* @package ACF
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$class = $active ? 'single' : 'grid';
|
$class = $active ? 'single' : 'grid';
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Network Admin Database Upgrade
|
|
||||||
*
|
|
||||||
* Shows the databse upgrade process.
|
|
||||||
*
|
|
||||||
* @package ACF
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
|
||||||
|
|
@ -73,8 +74,16 @@
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<?php if ( acf_has_upgrade() ) : ?>
|
<?php if ( acf_has_upgrade() ) : ?>
|
||||||
<?php // translators: %1 current db version, %2 available db version ?>
|
<span class="response">
|
||||||
<span class="response"><?php echo esc_html( printf( __( 'Site requires database upgrade from %1$s to %2$s', 'acf' ), acf_get_db_version(), ACF_VERSION ) ); ?></span>
|
<?php
|
||||||
|
printf(
|
||||||
|
/* translators: %1$s current db version, %2$s available db version */
|
||||||
|
esc_html__( 'Site requires database upgrade from %1$s to %2$s', 'acf' ),
|
||||||
|
esc_html( acf_get_db_version() ),
|
||||||
|
esc_html( ACF_VERSION )
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
</span>
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<?php esc_html_e( 'Site is up to date', 'acf' ); ?>
|
<?php esc_html_e( 'Site is up to date', 'acf' ); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
// calculate add-ons (non pro only)
|
// calculate add-ons (non pro only)
|
||||||
$plugins = array();
|
$plugins = array();
|
||||||
|
|
@ -19,7 +28,7 @@ if ( ! acf_get_setting( 'pro' ) ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div id="acf-upgrade-notice" class="notice">
|
<div id="acf-upgrade-notice" class="notice notice-warning">
|
||||||
<div class="notice-container">
|
<div class="notice-container">
|
||||||
<div class="col-content">
|
<div class="col-content">
|
||||||
<img src="<?php echo esc_url( acf_get_url( 'assets/images/acf-logo.svg' ) ); ?>" />
|
<img src="<?php echo esc_url( acf_get_url( 'assets/images/acf-logo.svg' ) ); ?>" />
|
||||||
|
|
@ -33,7 +42,7 @@ if ( ! acf_get_setting( 'pro' ) ) {
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-actions">
|
<div class="col-actions">
|
||||||
<a id="acf-upgrade-button" href="<?php echo esc_url( $button_url ); ?>" class="acf-btn"><?php echo esc_html( $button_text ); ?></a>
|
<a id="acf-upgrade-button" href="<?php echo esc_url( $button_url ); ?>" class="button-primary"><?php echo esc_html( $button_text ); ?></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Admin Database Upgrade
|
|
||||||
*
|
|
||||||
* Shows the databse upgrade process.
|
|
||||||
*
|
|
||||||
* @package ACF
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly
|
exit; // Exit if accessed directly
|
||||||
|
|
@ -53,7 +62,7 @@ if ( ! class_exists( 'ACF_Ajax_Check_Screen' ) ) :
|
||||||
$item = array(
|
$item = array(
|
||||||
'id' => esc_attr( 'acf-' . $field_group['key'] ),
|
'id' => esc_attr( 'acf-' . $field_group['key'] ),
|
||||||
'key' => esc_attr( $field_group['key'] ),
|
'key' => esc_attr( $field_group['key'] ),
|
||||||
'title' => esc_html( $field_group['title'] ),
|
'title' => acf_esc_html( acf_get_field_group_title( $field_group ) ),
|
||||||
'position' => esc_attr( $field_group['position'] ),
|
'position' => esc_attr( $field_group['position'] ),
|
||||||
'classes' => postbox_classes( 'acf-' . $field_group['key'], $args['screen'] ),
|
'classes' => postbox_classes( 'acf-' . $field_group['key'], $args['screen'] ),
|
||||||
'style' => esc_attr( $field_group['style'] ),
|
'style' => esc_attr( $field_group['style'] ),
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly
|
exit; // Exit if accessed directly
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly
|
exit; // Exit if accessed directly
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly
|
exit; // Exit if accessed directly
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly
|
exit; // Exit if accessed directly
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly
|
exit; // Exit if accessed directly
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly
|
exit; // Exit if accessed directly
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function will return true for a non empty array
|
* This function will return true for a non empty array
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function will return a custom field value for a specific field name/key + post_id.
|
* This function will return a custom field value for a specific field name/key + post_id.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an array of taxonomy names.
|
* Returns an array of taxonomy names.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly
|
exit; // Exit if accessed directly
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly.
|
exit; // Exit if accessed directly.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly.
|
exit; // Exit if accessed directly.
|
||||||
|
|
@ -165,7 +174,7 @@ if ( ! class_exists( 'ACF_Internal_Post_Type' ) ) {
|
||||||
* @since 6.1
|
* @since 6.1
|
||||||
*
|
*
|
||||||
* @param integer|string $id The post ID, key, or name.
|
* @param integer|string $id The post ID, key, or name.
|
||||||
* @return WP_Post|bool The post object, or false on failure.
|
* @return WP_Post|boolean The post object, or false on failure.
|
||||||
*/
|
*/
|
||||||
public function get_post_object( $id = 0 ) {
|
public function get_post_object( $id = 0 ) {
|
||||||
if ( is_numeric( $id ) ) {
|
if ( is_numeric( $id ) ) {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly
|
exit; // Exit if accessed directly
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
// Register deprecated filters ( $deprecated, $version, $replacement ).
|
// Register deprecated filters ( $deprecated, $version, $replacement ).
|
||||||
acf_add_deprecated_filter( 'acf/settings/export_textdomain', '5.3.3', 'acf/settings/l10n_textdomain' );
|
acf_add_deprecated_filter( 'acf/settings/export_textdomain', '5.3.3', 'acf/settings/l10n_textdomain' );
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly
|
exit; // Exit if accessed directly
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! class_exists( 'acf_field__accordion' ) ) :
|
if ( ! class_exists( 'acf_field__accordion' ) ) :
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! class_exists( 'acf_field_button_group' ) ) :
|
if ( ! class_exists( 'acf_field_button_group' ) ) :
|
||||||
|
|
||||||
|
|
@ -66,27 +75,45 @@ if ( ! class_exists( 'acf_field_button_group' ) ) :
|
||||||
|
|
||||||
// append
|
// append
|
||||||
$buttons[] = array(
|
$buttons[] = array(
|
||||||
'name' => $field['name'],
|
'name' => $field['name'],
|
||||||
'value' => $_value,
|
'value' => $_value,
|
||||||
'label' => $_label,
|
'label' => $_label,
|
||||||
'checked' => $checked,
|
'checked' => $checked,
|
||||||
|
'button_group' => true,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// maybe select initial value
|
// maybe select initial value
|
||||||
if ( ! $field['allow_null'] && $selected === null ) {
|
if ( ! $field['allow_null'] && $selected === null ) {
|
||||||
$buttons[0]['checked'] = true;
|
$buttons[0]['checked'] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// div
|
// Ensure roving tabindex when allow_null is enabled and no selection yet.
|
||||||
$div = array( 'class' => 'acf-button-group' );
|
if ( $field['allow_null'] && $selected === null && ! empty( $buttons ) ) {
|
||||||
|
$buttons[0]['tabindex'] = '0';
|
||||||
|
}
|
||||||
|
|
||||||
if ( $field['layout'] == 'vertical' ) {
|
// div
|
||||||
$div['class'] .= ' -vertical'; }
|
$div = array(
|
||||||
|
'class' => 'acf-button-group',
|
||||||
|
'role' => 'radiogroup',
|
||||||
|
);
|
||||||
|
|
||||||
|
// Add aria-labelledby if field has an ID for proper screen reader announcement
|
||||||
|
if ( ! empty( $field['id'] ) ) {
|
||||||
|
$div['aria-labelledby'] = $field['id'] . '-label';
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( 'vertical' === $field['layout'] ) {
|
||||||
|
$div['class'] .= ' -vertical';
|
||||||
|
}
|
||||||
if ( $field['class'] ) {
|
if ( $field['class'] ) {
|
||||||
$div['class'] .= ' ' . $field['class']; }
|
$div['class'] .= ' ' . $field['class'];
|
||||||
|
}
|
||||||
if ( $field['allow_null'] ) {
|
if ( $field['allow_null'] ) {
|
||||||
$div['data-allow_null'] = 1; }
|
$div['data-allow_null'] = 1;
|
||||||
|
}
|
||||||
|
|
||||||
// hdden input
|
// hdden input
|
||||||
$html .= acf_get_hidden_input( array( 'name' => $field['name'] ) );
|
$html .= acf_get_hidden_input( array( 'name' => $field['name'] ) );
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! class_exists( 'acf_field_checkbox' ) ) :
|
if ( ! class_exists( 'acf_field_checkbox' ) ) :
|
||||||
|
|
||||||
|
|
@ -79,8 +88,14 @@ if ( ! class_exists( 'acf_field_checkbox' ) ) :
|
||||||
$li = '';
|
$li = '';
|
||||||
$ul = array(
|
$ul = array(
|
||||||
'class' => 'acf-checkbox-list',
|
'class' => 'acf-checkbox-list',
|
||||||
|
'role' => 'group',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Add aria-labelledby if field has an ID for proper screen reader announcement
|
||||||
|
if ( ! empty( $field['id'] ) ) {
|
||||||
|
$ul['aria-labelledby'] = $field['id'] . '-label';
|
||||||
|
}
|
||||||
|
|
||||||
// append to class
|
// append to class
|
||||||
$ul['class'] .= ' ' . ( $field['layout'] == 'horizontal' ? 'acf-hl' : 'acf-bl' );
|
$ul['class'] .= ' ' . ( $field['layout'] == 'horizontal' ? 'acf-hl' : 'acf-bl' );
|
||||||
$ul['class'] .= ' ' . $field['class'];
|
$ul['class'] .= ' ' . $field['class'];
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! class_exists( 'acf_field_color_picker' ) ) :
|
if ( ! class_exists( 'acf_field_color_picker' ) ) :
|
||||||
|
|
||||||
|
|
@ -25,9 +34,12 @@ if ( ! class_exists( 'acf_field_color_picker' ) ) :
|
||||||
$this->preview_image = acf_get_url() . '/assets/images/field-type-previews/field-preview-color-picker.png';
|
$this->preview_image = acf_get_url() . '/assets/images/field-type-previews/field-preview-color-picker.png';
|
||||||
$this->doc_url = acf_add_url_utm_tags( 'https://www.advancedcustomfields.com/resources/color-picker/', 'docs', 'field-type-selection' );
|
$this->doc_url = acf_add_url_utm_tags( 'https://www.advancedcustomfields.com/resources/color-picker/', 'docs', 'field-type-selection' );
|
||||||
$this->defaults = array(
|
$this->defaults = array(
|
||||||
'default_value' => '',
|
'default_value' => '',
|
||||||
'enable_opacity' => false,
|
'enable_opacity' => false,
|
||||||
'return_format' => 'string', // 'string'|'array'
|
'custom_palette_source' => '',
|
||||||
|
'palette_colors' => '',
|
||||||
|
'show_color_wheel' => true,
|
||||||
|
'return_format' => 'string', // 'string'|'array'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -105,7 +117,7 @@ if ( ! class_exists( 'acf_field_color_picker' ) ) :
|
||||||
* @since 3.6
|
* @since 3.6
|
||||||
* @date 23/01/13
|
* @date 23/01/13
|
||||||
*/
|
*/
|
||||||
function render_field( $field ) {
|
public function render_field( $field ) {
|
||||||
$text_input = acf_get_sub_array( $field, array( 'id', 'class', 'name', 'value' ) );
|
$text_input = acf_get_sub_array( $field, array( 'id', 'class', 'name', 'value' ) );
|
||||||
$hidden_input = acf_get_sub_array( $field, array( 'name', 'value' ) );
|
$hidden_input = acf_get_sub_array( $field, array( 'name', 'value' ) );
|
||||||
$text_input['data-alpha-skip-debounce'] = true;
|
$text_input['data-alpha-skip-debounce'] = true;
|
||||||
|
|
@ -115,9 +127,54 @@ if ( ! class_exists( 'acf_field_color_picker' ) ) :
|
||||||
$text_input['data-alpha-enabled'] = true;
|
$text_input['data-alpha-enabled'] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Handle color palette when the theme supports theme.json.
|
||||||
|
if ( wp_theme_has_theme_json() ) {
|
||||||
|
// If the field was set to use themejson.
|
||||||
|
if ( $field['custom_palette_source'] === 'themejson' ) {
|
||||||
|
$text_input['data-acf-palette-type'] = 'custom';
|
||||||
|
|
||||||
|
// Get the palette (theme + custom).
|
||||||
|
$global_settings = wp_get_global_settings();
|
||||||
|
$palette = $global_settings['color']['palette']['theme'] ?? array();
|
||||||
|
|
||||||
|
// Extract only the color values.
|
||||||
|
$color_values = array_map(
|
||||||
|
fn( $c ) => $c['color'] ?? null,
|
||||||
|
$palette
|
||||||
|
);
|
||||||
|
|
||||||
|
// Remove nulls (in case any entries are missing 'color')
|
||||||
|
$color_values = array_filter( $color_values );
|
||||||
|
|
||||||
|
$hex_string = implode( ',', $color_values );
|
||||||
|
|
||||||
|
$text_input['data-acf-palette-colors'] = $hex_string;
|
||||||
|
} elseif ( $field['custom_palette_source'] === 'custom' && ! empty( $field['palette_colors'] ) ) {
|
||||||
|
// If the field was set to use a custom palette.
|
||||||
|
$text_input['data-acf-palette-type'] = 'custom';
|
||||||
|
$text_input['data-acf-palette-colors'] = $field['palette_colors'];
|
||||||
|
} elseif ( $field['custom_palette_source'] === '' && ! empty( $field['palette_colors'] ) ) {
|
||||||
|
// This state can happen if they switched from a classic theme to a themejson theme without resaving the field.
|
||||||
|
$text_input['data-acf-palette-type'] = 'custom';
|
||||||
|
$text_input['data-acf-palette-colors'] = $field['palette_colors'];
|
||||||
|
} else {
|
||||||
|
// Fallback to use the default color palette for the iris color picker.
|
||||||
|
$text_input['data-acf-palette-type'] = 'default';
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
// Handle color palette for themes that do not support themejson.
|
||||||
|
if ( ! empty( $field['palette_colors'] ) ) {
|
||||||
|
$text_input['data-acf-palette-type'] = 'custom';
|
||||||
|
$text_input['data-acf-palette-colors'] = $field['palette_colors'];
|
||||||
|
} else {
|
||||||
|
// Fallback to use the default color palette for the iris color picker.
|
||||||
|
$text_input['data-acf-palette-type'] = 'default';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// html
|
// html
|
||||||
?>
|
?>
|
||||||
<div class="acf-color-picker">
|
<div class="acf-color-picker<?php echo esc_attr( ! $field['show_color_wheel'] ? ' acf-hide-color-picker-color-wheel' : '' ); ?>">
|
||||||
<?php acf_hidden_input( $hidden_input ); ?>
|
<?php acf_hidden_input( $hidden_input ); ?>
|
||||||
<?php acf_text_input( $text_input ); ?>
|
<?php acf_text_input( $text_input ); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -178,6 +235,84 @@ if ( ! class_exists( 'acf_field_color_picker' ) ) :
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Renders the field settings used in the "Presentation" tab.
|
||||||
|
*
|
||||||
|
* @since 6.0
|
||||||
|
*
|
||||||
|
* @param array $field The field settings array.
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function render_field_presentation_settings( $field ) {
|
||||||
|
acf_render_field_setting(
|
||||||
|
$field,
|
||||||
|
array(
|
||||||
|
'label' => __( 'Show Custom Palette', 'acf' ),
|
||||||
|
'instructions' => '',
|
||||||
|
'type' => 'true_false',
|
||||||
|
'name' => 'show_custom_palette',
|
||||||
|
'ui' => 1,
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
$custom_palette_conditions = array(
|
||||||
|
'field' => 'show_custom_palette',
|
||||||
|
'operator' => '==',
|
||||||
|
'value' => 1,
|
||||||
|
);
|
||||||
|
|
||||||
|
if ( wp_theme_has_theme_json() ) {
|
||||||
|
acf_render_field_setting(
|
||||||
|
$field,
|
||||||
|
array(
|
||||||
|
'label' => __( 'Custom Palette Source', 'acf' ),
|
||||||
|
'instructions' => '',
|
||||||
|
'type' => 'radio',
|
||||||
|
'name' => 'custom_palette_source',
|
||||||
|
'layout' => 'vertical',
|
||||||
|
'choices' => array(
|
||||||
|
'custom' => __( 'Specify custom colors', 'acf' ),
|
||||||
|
'themejson' => __( 'Use colors from theme.json', 'acf' ),
|
||||||
|
),
|
||||||
|
'conditions' => array(
|
||||||
|
'field' => 'show_custom_palette',
|
||||||
|
'operator' => '==',
|
||||||
|
'value' => 1,
|
||||||
|
),
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
$custom_palette_conditions = array(
|
||||||
|
'field' => 'custom_palette_source',
|
||||||
|
'operator' => '==',
|
||||||
|
'value' => 'custom',
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
acf_render_field_setting(
|
||||||
|
$field,
|
||||||
|
array(
|
||||||
|
'label' => __( 'Custom Palette', 'acf' ),
|
||||||
|
'instructions' => __( 'Use a custom color palette by entering comma separated hex or rgba values', 'acf' ),
|
||||||
|
'type' => 'text',
|
||||||
|
'name' => 'palette_colors',
|
||||||
|
'conditions' => $custom_palette_conditions,
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
acf_render_field_setting(
|
||||||
|
$field,
|
||||||
|
array(
|
||||||
|
'label' => __( 'Show Color Wheel', 'acf' ),
|
||||||
|
'instructions' => '',
|
||||||
|
'type' => 'true_false',
|
||||||
|
'name' => 'show_color_wheel',
|
||||||
|
'default_value' => 1,
|
||||||
|
'ui' => 1,
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Format the value for use in templates. At this stage, the value has been loaded from the
|
* Format the value for use in templates. At this stage, the value has been loaded from the
|
||||||
* database and is being returned by an API function such as get_field(), the_field(), etc.
|
* database and is being returned by an API function such as get_field(), the_field(), etc.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! class_exists( 'acf_field_date_picker' ) ) :
|
if ( ! class_exists( 'acf_field_date_picker' ) ) :
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! class_exists( 'acf_field_date_and_time_picker' ) ) :
|
if ( ! class_exists( 'acf_field_date_and_time_picker' ) ) :
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! class_exists( 'acf_field_email' ) ) :
|
if ( ! class_exists( 'acf_field_email' ) ) :
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! class_exists( 'acf_field_file' ) ) :
|
if ( ! class_exists( 'acf_field_file' ) ) :
|
||||||
|
|
||||||
|
|
@ -128,7 +137,7 @@ if ( ! class_exists( 'acf_field_file' ) ) :
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
<div class="show-if-value file-wrap">
|
<div class="show-if-value file-wrap" tabindex="0" role="button" aria-label="<?php esc_attr_e( 'Selected file. Press tab to access file options.', 'acf' ); ?>">
|
||||||
<div class="file-icon">
|
<div class="file-icon">
|
||||||
<img data-name="icon" src="<?php echo esc_url( $o['icon'] ); ?>" alt=""/>
|
<img data-name="icon" src="<?php echo esc_url( $o['icon'] ); ?>" alt=""/>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -147,9 +156,9 @@ if ( ! class_exists( 'acf_field_file' ) ) :
|
||||||
</div>
|
</div>
|
||||||
<div class="acf-actions -hover">
|
<div class="acf-actions -hover">
|
||||||
<?php if ( $uploader != 'basic' ) : ?>
|
<?php if ( $uploader != 'basic' ) : ?>
|
||||||
<a class="acf-icon -pencil dark" data-name="edit" href="#" title="<?php esc_attr_e( 'Edit', 'acf' ); ?>"></a>
|
<a class="acf-icon -pencil dark" data-name="edit" href="#" title="<?php esc_attr_e( 'Edit', 'acf' ); ?>" aria-label="<?php esc_attr_e( 'Edit file', 'acf' ); ?>"></a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<a class="acf-icon -cancel dark" data-name="remove" href="#" title="<?php esc_attr_e( 'Remove', 'acf' ); ?>"></a>
|
<a class="acf-icon -cancel dark" data-name="remove" href="#" title="<?php esc_attr_e( 'Remove', 'acf' ); ?>" aria-label="<?php esc_attr_e( 'Remove file', 'acf' ); ?>"></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="hide-if-value">
|
<div class="hide-if-value">
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! class_exists( 'acf_field_google_map' ) ) :
|
if ( ! class_exists( 'acf_field_google_map' ) ) :
|
||||||
class acf_field_google_map extends acf_field {
|
class acf_field_google_map extends acf_field {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! class_exists( 'acf_field__group' ) ) :
|
if ( ! class_exists( 'acf_field__group' ) ) :
|
||||||
class acf_field__group extends acf_field {
|
class acf_field__group extends acf_field {
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* This is a PHP file containing the code for the acf_field_icon_picker class.
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
*
|
*
|
||||||
* @package Advanced_Custom_Fields_Pro
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! class_exists( 'acf_field_icon_picker' ) ) :
|
if ( ! class_exists( 'acf_field_icon_picker' ) ) :
|
||||||
|
|
@ -333,11 +337,16 @@ if ( ! class_exists( 'acf_field_icon_picker' ) ) :
|
||||||
* @return boolean true If the value is valid, false if not.
|
* @return boolean true If the value is valid, false if not.
|
||||||
*/
|
*/
|
||||||
public function validate_value( $valid, $value, $field, $input ) {
|
public function validate_value( $valid, $value, $field, $input ) {
|
||||||
// If the value is empty, return true. You're allowed to save nothing.
|
// If the value is empty and it's not required, return true. You're allowed to save nothing.
|
||||||
if ( empty( $value ) && empty( $field['required'] ) ) {
|
if ( empty( $value ) && empty( $field['required'] ) ) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Validate required.
|
||||||
|
if ( $field['required'] && ( empty( $value ) || empty( $value['value'] ) ) ) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// If the value is not an array, return $valid status.
|
// If the value is not an array, return $valid status.
|
||||||
if ( ! is_array( $value ) ) {
|
if ( ! is_array( $value ) ) {
|
||||||
return $valid;
|
return $valid;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package ACF
|
||||||
|
* @author WP Engine
|
||||||
|
*
|
||||||
|
* © 2025 Advanced Custom Fields (ACF®). All rights reserved.
|
||||||
|
* "ACF" is a trademark of WP Engine.
|
||||||
|
* Licensed under the GNU General Public License v2 or later.
|
||||||
|
* https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
*/
|
||||||
|
|
||||||
if ( ! class_exists( 'acf_field_image' ) ) :
|
if ( ! class_exists( 'acf_field_image' ) ) :
|
||||||
|
|
||||||
|
|
@ -126,13 +135,13 @@ if ( ! class_exists( 'acf_field_image' ) ) :
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
<div class="show-if-value image-wrap" style="max-width: <?php echo esc_attr( $size_w ); ?>">
|
<div class="show-if-value image-wrap" style="max-width: <?php echo esc_attr( $size_w ); ?>" tabindex="0" role="button" aria-label="<?php esc_attr_e( 'Selected image. Press tab to access image options.', 'acf' ); ?>">
|
||||||
<img <?php echo acf_esc_attrs( $img_attrs ); ?> />
|
<img <?php echo acf_esc_attrs( $img_attrs ); ?> />
|
||||||
<div class="acf-actions -hover">
|
<div class="acf-actions -hover">
|
||||||
<?php if ( $uploader !== 'basic' ) : ?>
|
<?php if ( $uploader !== 'basic' ) : ?>
|
||||||
<a class="acf-icon -pencil dark" data-name="edit" href="#" title="<?php esc_attr_e( 'Edit', 'acf' ); ?>"></a>
|
<a class="acf-icon -pencil dark" data-name="edit" href="#" title="<?php esc_attr_e( 'Edit', 'acf' ); ?>" aria-label="<?php esc_attr_e( 'Edit image', 'acf' ); ?>"></a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<a class="acf-icon -cancel dark" data-name="remove" href="#" title="<?php esc_attr_e( 'Remove', 'acf' ); ?>"></a>
|
<a class="acf-icon -cancel dark" data-name="remove" href="#" title="<?php esc_attr_e( 'Remove', 'acf' ); ?>" aria-label="<?php esc_attr_e( 'Remove image', 'acf' ); ?>"></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="hide-if-value">
|
<div class="hide-if-value">
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue