|
|
@@ -1,4 +1,4 @@ |
|
|
# Core Concepts |
|
|
# Core Concepts <a id="secure-custom-fields/concepts" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/concepts/ |
|
|
|
|
|
@@ -15,7 +15,7 @@ Secure Custom Fields is built on several core concepts that ensure security, fle |
|
|
|
|
|
--- |
|
|
|
|
|
# Architecture |
|
|
# Architecture <a id="secure-custom-fields/concepts/architecture" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/concepts/architecture/ |
|
|
|
|
|
@@ -125,7 +125,7 @@ The plugin is organized into several key directories: |
|
|
|
|
|
--- |
|
|
|
|
|
# Security in Secure Custom Fields |
|
|
# Security in Secure Custom Fields <a id="secure-custom-fields/concepts/security" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/concepts/security/ |
|
|
|
|
|
@@ -157,7 +157,7 @@ When working with SCF: |
|
|
|
|
|
--- |
|
|
|
|
|
# Contributing to SCF |
|
|
# Contributing to SCF <a id="secure-custom-fields/contributing" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/contributing/ |
|
|
|
|
|
@@ -201,7 +201,7 @@ Guide for contributing to Secure Custom Fields development. |
|
|
|
|
|
--- |
|
|
|
|
|
# Documentation Guidelines |
|
|
# Documentation Guidelines <a id="secure-custom-fields/contributing/documentation" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/contributing/documentation/ |
|
|
|
|
|
@@ -242,7 +242,7 @@ We follow the [WordPress Documentation Style Guide](https://make.wordpress.org/d |
|
|
|
|
|
--- |
|
|
|
|
|
# Features |
|
|
# Features <a id="secure-custom-fields/features" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/ |
|
|
|
|
|
@@ -298,7 +298,7 @@ This section details all features available in Secure Custom Fields. |
|
|
|
|
|
--- |
|
|
|
|
|
# Api |
|
|
# Api <a id="secure-custom-fields/code-reference/api" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/api/ |
|
|
|
|
|
@@ -310,7 +310,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/api/ |
|
|
|
|
|
--- |
|
|
|
|
|
# Custom Post Types |
|
|
# Custom Post Types <a id="secure-custom-fields/features/post-types" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/post-types/ |
|
|
|
|
|
@@ -354,7 +354,7 @@ Common use cases for custom post types: |
|
|
|
|
|
--- |
|
|
|
|
|
# Installing Secure Custom Fields |
|
|
# Installing Secure Custom Fields <a id="secure-custom-fields/welcome/installation" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/welcome/installation/ |
|
|
|
|
|
@@ -395,7 +395,7 @@ After installation: |
|
|
|
|
|
--- |
|
|
|
|
|
# Quick Start Guide |
|
|
# Quick Start Guide <a id="secure-custom-fields/welcome/quick-start" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/welcome/quick-start/ |
|
|
|
|
|
@@ -431,7 +431,7 @@ Let’s create a simple author bio field group: |
|
|
|
|
|
--- |
|
|
|
|
|
# Tutorials |
|
|
# Tutorials <a id="secure-custom-fields/tutorials" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/tutorials/ |
|
|
|
|
|
@@ -461,7 +461,7 @@ Each tutorial follows these principles: |
|
|
|
|
|
--- |
|
|
|
|
|
# Creating Your First Post Type |
|
|
# Creating Your First Post Type <a id="secure-custom-fields/tutorials/first-post-type" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/tutorials/first-post-type/ |
|
|
|
|
|
@@ -499,7 +499,7 @@ A step-by-step guide to creating a custom post type using Secure Custom Fields. |
|
|
|
|
|
--- |
|
|
|
|
|
# Fields |
|
|
# Fields <a id="secure-custom-fields/code-reference/fields" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/ |
|
|
|
|
|
@@ -509,7 +509,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Accordion Field |
|
|
# Accordion Field <a id="secure-custom-fields/code-reference/fields/accordion" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/accordion/ |
|
|
|
|
|
@@ -530,7 +530,7 @@ The Accordion field creates collapsible sections to organize your fields into lo |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Accordion Field |
|
|
# Using the Accordion Field <a id="secure-custom-fields/code-reference/fields/accordion/accordion-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/accordion/accordion-tutorial/ |
|
|
|
|
|
@@ -563,7 +563,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Button Group Field |
|
|
# Button Group Field <a id="secure-custom-fields/code-reference/fields/button-group" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/button-group/ |
|
|
|
|
|
@@ -585,7 +585,7 @@ The Button Group field provides a set of buttons where users can select one opti |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Button Group Field |
|
|
# Using the Button Group Field <a id="secure-custom-fields/code-reference/fields/button-group/button-group-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/button-group/button-group-tutorial/ |
|
|
|
|
|
@@ -618,7 +618,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Checkbox Field |
|
|
# Checkbox Field <a id="secure-custom-fields/code-reference/fields/checkbox" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/checkbox/ |
|
|
|
|
|
@@ -641,7 +641,7 @@ The Checkbox field allows users to select one or multiple choices from a set of |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Checkbox Field |
|
|
# Using the Checkbox Field <a id="secure-custom-fields/code-reference/fields/checkbox/checkbox-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/checkbox/checkbox-tutorial/ |
|
|
|
|
|
@@ -675,7 +675,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Clone Field |
|
|
# Clone Field <a id="secure-custom-fields/code-reference/fields/clone" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/clone/ |
|
|
|
|
|
@@ -697,7 +697,7 @@ The Clone field allows you to reuse existing fields or field groups in multiple |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Clone Field |
|
|
# Using the Clone Field <a id="secure-custom-fields/code-reference/fields/clone/clone-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/clone/clone-tutorial/ |
|
|
|
|
|
@@ -731,7 +731,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Color Picker Field |
|
|
# Color Picker Field <a id="secure-custom-fields/code-reference/fields/color-picker" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/color-picker/ |
|
|
|
|
|
@@ -753,7 +753,7 @@ The Color Picker field provides an interactive interface for selecting colors. I |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Color Picker Field |
|
|
# Using the Color Picker Field <a id="secure-custom-fields/code-reference/fields/color-picker/color-picker-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/color-picker/color-picker-tutorial/ |
|
|
|
|
|
@@ -787,7 +787,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Date Picker Field |
|
|
# Date Picker Field <a id="secure-custom-fields/code-reference/fields/date-picker" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/date-picker/ |
|
|
|
|
|
@@ -810,7 +810,7 @@ The Date Picker field provides a calendar interface for selecting dates. It offe |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Date Picker Field |
|
|
# Using the Date Picker Field <a id="secure-custom-fields/code-reference/fields/date-picker/date-picker-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/date-picker/date-picker-tutorial/ |
|
|
|
|
|
@@ -844,7 +844,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Date Time Picker Field |
|
|
# Date Time Picker Field <a id="secure-custom-fields/code-reference/fields/date-time-picker" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/date-time-picker/ |
|
|
|
|
|
@@ -867,7 +867,7 @@ The Date Time Picker field combines date and time selection into a single interf |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Date Time Picker Field |
|
|
# Using the Date Time Picker Field <a id="secure-custom-fields/code-reference/fields/date-time-picker/date-time-picker-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/date-time-picker/date-time-picker-tutorial/ |
|
|
|
|
|
@@ -901,7 +901,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Email Field |
|
|
# Email Field <a id="secure-custom-fields/code-reference/fields/email" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/email/ |
|
|
|
|
|
@@ -924,7 +924,7 @@ The Email field provides a specialized input for email addresses. It includes bu |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Email Field |
|
|
# Using the Email Field <a id="secure-custom-fields/code-reference/fields/email/email-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/email/email-tutorial/ |
|
|
|
|
|
@@ -958,7 +958,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# File Field |
|
|
# File Field <a id="secure-custom-fields/code-reference/fields/file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/file/ |
|
|
|
|
|
@@ -982,7 +982,7 @@ The File field enables file uploads and management through the WordPress media l |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the File Field |
|
|
# Using the File Field <a id="secure-custom-fields/code-reference/fields/file/file-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/file/file-tutorial/ |
|
|
|
|
|
@@ -1016,7 +1016,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Flexible Content Field |
|
|
# Flexible Content Field <a id="secure-custom-fields/code-reference/fields/flexible-content" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/flexible-content/ |
|
|
|
|
|
@@ -1039,7 +1039,7 @@ The Flexible Content field provides a flexible content builder interface. It all |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Flexible Content Field |
|
|
# Using the Flexible Content Field <a id="secure-custom-fields/code-reference/fields/flexible-content/flexible-content-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/flexible-content/flexible-content-tutorial/ |
|
|
|
|
|
@@ -1073,7 +1073,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Gallery Field |
|
|
# Gallery Field <a id="secure-custom-fields/code-reference/fields/gallery" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/gallery/ |
|
|
|
|
|
@@ -1097,7 +1097,7 @@ The Gallery field enables management of multiple images in a single field. It pr |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Gallery Field |
|
|
# Using the Gallery Field <a id="secure-custom-fields/code-reference/fields/gallery/gallery-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/gallery/gallery-tutorial/ |
|
|
|
|
|
@@ -1131,7 +1131,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Google Map Field |
|
|
# Google Map Field <a id="secure-custom-fields/code-reference/fields/google-map" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/google-map/ |
|
|
|
|
|
@@ -1155,7 +1155,7 @@ The Google Map field provides an interactive map interface for selecting and sto |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Google Map Field |
|
|
# Using the Google Map Field <a id="secure-custom-fields/code-reference/fields/google-map/google-map-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/google-map/google-map-tutorial/ |
|
|
|
|
|
@@ -1189,7 +1189,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Group Field |
|
|
# Group Field <a id="secure-custom-fields/code-reference/fields/group" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/group/ |
|
|
|
|
|
@@ -1211,7 +1211,7 @@ The Group field allows you to organize multiple fields together into a single da |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Group Field |
|
|
# Using the Group Field <a id="secure-custom-fields/code-reference/fields/group/group-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/group/group-tutorial/ |
|
|
|
|
|
@@ -1245,7 +1245,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Icon Picker Field |
|
|
# Icon Picker Field <a id="secure-custom-fields/code-reference/fields/icon-picker" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/icon-picker/ |
|
|
|
|
|
@@ -1268,7 +1268,7 @@ The Icon Picker field provides an interface for selecting icons from various sou |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Icon Picker Field |
|
|
# Using the Icon Picker Field <a id="secure-custom-fields/code-reference/fields/icon-picker/icon-picker-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/icon-picker/icon-picker-tutorial/ |
|
|
|
|
|
@@ -1302,7 +1302,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Image Field |
|
|
# Image Field <a id="secure-custom-fields/code-reference/fields/image" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/image/ |
|
|
|
|
|
@@ -1326,7 +1326,7 @@ The Image field provides a dedicated interface for uploading and selecting image |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Image Field |
|
|
# Using the Image Field <a id="secure-custom-fields/code-reference/fields/image/image-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/image/image-tutorial/ |
|
|
|
|
|
@@ -1360,7 +1360,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Link Field |
|
|
# Link Field <a id="secure-custom-fields/code-reference/fields/link" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/link/ |
|
|
|
|
|
@@ -1382,7 +1382,7 @@ The Link field provides an interface for creating links with various properties. |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Link Field |
|
|
# Using the Link Field <a id="secure-custom-fields/code-reference/fields/link/link-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/link/link-tutorial/ |
|
|
|
|
|
@@ -1416,7 +1416,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Message Field |
|
|
# Message Field <a id="secure-custom-fields/code-reference/fields/message" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/message/ |
|
|
|
|
|
@@ -1439,7 +1439,7 @@ The Message field displays instructional text or HTML content within the editing |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Message Field |
|
|
# Using the Message Field <a id="secure-custom-fields/code-reference/fields/message/message-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/message/message-tutorial/ |
|
|
|
|
|
@@ -1473,7 +1473,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Number Field |
|
|
# Number Field <a id="secure-custom-fields/code-reference/fields/number" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/number/ |
|
|
|
|
|
@@ -1499,7 +1499,7 @@ The Number field provides an input specifically for numeric values. It includes |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Number Field |
|
|
# Using the Number Field <a id="secure-custom-fields/code-reference/fields/number/number-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/number/number-tutorial/ |
|
|
|
|
|
@@ -1533,7 +1533,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# oEmbed Field |
|
|
# oEmbed Field <a id="secure-custom-fields/code-reference/fields/oembed" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/oembed/ |
|
|
|
|
|
@@ -1555,7 +1555,7 @@ The oEmbed field allows embedding external content from various providers like Y |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the oEmbed Field |
|
|
# Using the oEmbed Field <a id="secure-custom-fields/code-reference/fields/oembed/oembed-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/oembed/oembed-tutorial/ |
|
|
|
|
|
@@ -1589,7 +1589,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Page Link Field |
|
|
# Page Link Field <a id="secure-custom-fields/code-reference/fields/page-link" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/page-link/ |
|
|
|
|
|
@@ -1613,7 +1613,7 @@ The Page Link field provides an interface for creating links to internal WordPre |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Page Link Field |
|
|
# Using the Page Link Field <a id="secure-custom-fields/code-reference/fields/page-link/page-link-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/page-link/page-link-tutorial/ |
|
|
|
|
|
@@ -1647,7 +1647,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Password Field |
|
|
# Password Field <a id="secure-custom-fields/code-reference/fields/password" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/password/ |
|
|
|
|
|
@@ -1669,7 +1669,7 @@ The Password field provides a secure input for password data. It includes maskin |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Password Field |
|
|
# Using the Password Field <a id="secure-custom-fields/code-reference/fields/password/password-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/password/password-tutorial/ |
|
|
|
|
|
@@ -1703,7 +1703,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Post Object Field |
|
|
# Post Object Field <a id="secure-custom-fields/code-reference/fields/post-object" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/post-object/ |
|
|
|
|
|
@@ -1727,7 +1727,7 @@ The Post Object field creates relationships with other WordPress posts, pages, o |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Post Object Field |
|
|
# Using the Post Object Field <a id="secure-custom-fields/code-reference/fields/post-object/post-object-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/post-object/post-object-tutorial/ |
|
|
|
|
|
@@ -1761,7 +1761,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Radio Field |
|
|
# Radio Field <a id="secure-custom-fields/code-reference/fields/radio" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/radio/ |
|
|
|
|
|
@@ -1785,7 +1785,7 @@ The Radio field presents users with a list of options where they can select a si |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Radio Field |
|
|
# Using the Radio Field <a id="secure-custom-fields/code-reference/fields/radio/radio-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/radio/radio-tutorial/ |
|
|
|
|
|
@@ -1819,7 +1819,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Range Field |
|
|
# Range Field <a id="secure-custom-fields/code-reference/fields/range" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/range/ |
|
|
|
|
|
@@ -1843,7 +1843,7 @@ The Range field provides a slider interface for selecting numeric values within |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Range Field |
|
|
# Using the Range Field <a id="secure-custom-fields/code-reference/fields/range/range-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/range/range-tutorial/ |
|
|
|
|
|
@@ -1877,7 +1877,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fiel |
|
|
|
|
|
--- |
|
|
|
|
|
# Code Reference |
|
|
# Code Reference <a id="secure-custom-fields/code-reference" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/ |
|
|
|
|
|
@@ -1917,7 +1917,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/ |
|
|
|
|
|
--- |
|
|
|
|
|
# Acf Bidirectional Functions Global Functions |
|
|
# Acf Bidirectional Functions Global Functions <a id="secure-custom-fields/code-reference/acf-bidirectional-functions-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/acf-bidirectional-functions-file/ |
|
|
|
|
|
@@ -1974,7 +1974,7 @@ Returns the translated instructional text for the message field for the bidirect |
|
|
|
|
|
--- |
|
|
|
|
|
# Acf Field Functions Global Functions |
|
|
# Acf Field Functions Global Functions <a id="secure-custom-fields/code-reference/acf-field-functions-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/acf-field-functions-file/ |
|
|
|
|
|
@@ -2002,7 +2002,7 @@ acf\_get\_raw\_field |
|
|
|
|
|
acf\_get\_field\_post |
|
|
|
|
|
- Retrieves the field’s [WP\_Post](https://developer.wordpress.org/reference/classes/wp_post/) object. |
|
|
- Retrieves the field’s [WP\_Post](#reference/classes/wp_post) object. |
|
|
- @date 18/1/19 |
|
|
- @since ACF 5.7.10 |
|
|
- @param (int|string) $id The field ID, key or name. |
|
|
@@ -2373,7 +2373,7 @@ acf\_prepare\_field\_for\_import |
|
|
|
|
|
--- |
|
|
|
|
|
# Acf Field Group Functions Global Functions |
|
|
# Acf Field Group Functions Global Functions <a id="secure-custom-fields/code-reference/acf-field-group-functions-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/acf-field-group-functions-file/ |
|
|
|
|
|
@@ -2401,7 +2401,7 @@ acf\_get\_raw\_field\_group |
|
|
|
|
|
acf\_get\_field\_group\_post |
|
|
|
|
|
- Retrieves the field group’s [WP\_Post](https://developer.wordpress.org/reference/classes/wp_post/) object. |
|
|
- Retrieves the field group’s [WP\_Post](#reference/classes/wp_post) object. |
|
|
- @date 18/1/19 |
|
|
- @since ACF 5.7.10 |
|
|
- @param (int|string) $id The field group’s ID, key or name. |
|
|
@@ -2665,7 +2665,7 @@ Checks if a field group has the provided location rule. |
|
|
|
|
|
--- |
|
|
|
|
|
# Acf Form Functions Global Functions |
|
|
# Acf Form Functions Global Functions <a id="secure-custom-fields/code-reference/acf-form-functions-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/acf-form-functions-file/ |
|
|
|
|
|
@@ -2725,7 +2725,7 @@ acf\_save\_post |
|
|
|
|
|
--- |
|
|
|
|
|
# Acf Helper Functions Global Functions |
|
|
# Acf Helper Functions Global Functions <a id="secure-custom-fields/code-reference/acf-helper-functions-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/acf-helper-functions-file/ |
|
|
|
|
|
@@ -2948,7 +2948,7 @@ Returns the length of a string that has been submitted via $\_POST. |
|
|
- Uses the following process: |
|
|
|
|
|
1. Unslash the string because posted values will be slashed. |
|
|
2. Decode special characters because [wp\_kses()](https://developer.wordpress.org/reference/functions/wp_kses/) will normalize entities. |
|
|
2. Decode special characters because [wp\_kses()](#reference/functions/wp_kses) will normalize entities. |
|
|
3. Treat line-breaks as a single character instead of two. |
|
|
4. Use mb\_strlen() to accommodate special characters. |
|
|
|
|
|
@@ -3037,7 +3037,7 @@ this function returns false (boolean) to indicate that the version could not be |
|
|
|
|
|
--- |
|
|
|
|
|
# Acf Hook Functions Global Functions |
|
|
# Acf Hook Functions Global Functions <a id="secure-custom-fields/code-reference/acf-hook-functions-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/acf-hook-functions-file/ |
|
|
|
|
|
@@ -3069,7 +3069,7 @@ acf\_add\_action\_variations |
|
|
|
|
|
\_acf\_apply\_hook\_variations |
|
|
|
|
|
- Applies hook variations during [apply\_filters()](https://developer.wordpress.org/reference/functions/apply_filters/) or [do\_action()](https://developer.wordpress.org/reference/functions/do_action/) . |
|
|
- Applies hook variations during [apply\_filters()](#reference/functions/apply_filters) or [do\_action()](#reference/functions/do_action) . |
|
|
- @date 25/1/19 |
|
|
- @since ACF 5.7.11 |
|
|
- @param mixed |
|
|
@@ -3101,7 +3101,7 @@ acf\_add\_deprecated\_action |
|
|
|
|
|
## `_acf_apply_deprecated_hook()` |
|
|
|
|
|
Applies a deprecated filter during [apply\_filters()](https://developer.wordpress.org/reference/functions/apply_filters/) or [do\_action()](https://developer.wordpress.org/reference/functions/do_action/) . |
|
|
Applies a deprecated filter during [apply\_filters()](#reference/functions/apply_filters) or [do\_action()](#reference/functions/do_action) . |
|
|
|
|
|
- @date 25/1/19 |
|
|
- @since ACF 5.7.11 |
|
|
@@ -3112,7 +3112,7 @@ Applies a deprecated filter during [apply\_filters()](https://developer.wordpres |
|
|
|
|
|
--- |
|
|
|
|
|
# Acf Input Functions Global Functions |
|
|
# Acf Input Functions Global Functions <a id="secure-custom-fields/code-reference/acf-input-functions-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/acf-input-functions-file/ |
|
|
|
|
|
@@ -3361,7 +3361,7 @@ acf\_esc\_atts\_e |
|
|
|
|
|
--- |
|
|
|
|
|
# Acf Internal Post Type Functions Global Functions |
|
|
# Acf Internal Post Type Functions Global Functions <a id="secure-custom-fields/code-reference/acf-internal-post-type-functions-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/acf-internal-post-type-functions-file/ |
|
|
|
|
|
@@ -3668,7 +3668,7 @@ Gets an ACF options page from request args and verifies nonce based on action. |
|
|
|
|
|
--- |
|
|
|
|
|
# Acf Meta Functions Global Functions |
|
|
# Acf Meta Functions Global Functions <a id="secure-custom-fields/code-reference/acf-meta-functions-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/acf-meta-functions-file/ |
|
|
|
|
|
@@ -3685,7 +3685,7 @@ Returns an array of “ACF only” meta for the given post\_id. |
|
|
|
|
|
acf\_get\_option\_meta |
|
|
|
|
|
- Returns an array of meta for the given wp\_option name prefix in the same format as [get\_post\_meta()](https://developer.wordpress.org/reference/functions/get_post_meta/) . |
|
|
- Returns an array of meta for the given wp\_option name prefix in the same format as [get\_post\_meta()](#reference/functions/get_post_meta) . |
|
|
- @date 9/10/18 |
|
|
- @since ACF 5.8.0 |
|
|
- @param string $prefix The wp\_option name prefix. |
|
|
@@ -3788,7 +3788,7 @@ acf\_update\_metaref |
|
|
|
|
|
--- |
|
|
|
|
|
# Acf Post Functions Global Functions |
|
|
# Acf Post Functions Global Functions <a id="secure-custom-fields/code-reference/acf-post-functions-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/acf-post-functions-file/ |
|
|
|
|
|
@@ -3804,7 +3804,7 @@ Returns available templates for each post type. |
|
|
|
|
|
--- |
|
|
|
|
|
# Acf Post Type Functions Global Functions |
|
|
# Acf Post Type Functions Global Functions <a id="secure-custom-fields/code-reference/acf-post-type-functions-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/acf-post-type-functions-file/ |
|
|
|
|
|
@@ -3996,7 +3996,7 @@ Exports the “Enter Title Here” text for the provided ACF post types. |
|
|
|
|
|
--- |
|
|
|
|
|
# Acf Taxonomy Functions Global Functions |
|
|
# Acf Taxonomy Functions Global Functions <a id="secure-custom-fields/code-reference/acf-taxonomy-functions-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/acf-taxonomy-functions-file/ |
|
|
|
|
|
@@ -4180,15 +4180,15 @@ Imports an ACF taxonomy into the database. |
|
|
|
|
|
--- |
|
|
|
|
|
# Acf User Functions Global Functions |
|
|
# Acf User Functions Global Functions <a id="secure-custom-fields/code-reference/acf-user-functions-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/acf-user-functions-file/ |
|
|
|
|
|
## `acf_get_users()` |
|
|
|
|
|
acf\_get\_users |
|
|
|
|
|
- Similar to the [get\_users()](https://developer.wordpress.org/reference/functions/get_users/) function but with extra functionality. |
|
|
- Similar to the [get\_users()](#reference/functions/get_users) function but with extra functionality. |
|
|
- @date 9/1/19 |
|
|
- @since ACF 5.7.10 |
|
|
- @param array $args The query args. |
|
|
@@ -4201,7 +4201,7 @@ acf\_get\_user\_result |
|
|
- Returns a result containing “id” and “text” for the given user. |
|
|
- @date 21/5/19 |
|
|
- @since ACF 5.8.1 |
|
|
- @param [WP\_User](https://developer.wordpress.org/reference/classes/wp_user/) $user The user object. |
|
|
- @param [WP\_User](#reference/classes/wp_user) $user The user object. |
|
|
- @return array |
|
|
|
|
|
## `acf_get_user_role_labels()` |
|
|
@@ -4227,7 +4227,7 @@ acf\_allow\_unfiltered\_html |
|
|
|
|
|
--- |
|
|
|
|
|
# Acf Utility Functions Global Functions |
|
|
# Acf Utility Functions Global Functions <a id="secure-custom-fields/code-reference/acf-utility-functions-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/acf-utility-functions-file/ |
|
|
|
|
|
@@ -4316,7 +4316,7 @@ Includes a file within the ACF plugin. |
|
|
|
|
|
--- |
|
|
|
|
|
# Acf Value Functions Global Functions |
|
|
# Acf Value Functions Global Functions <a id="secure-custom-fields/code-reference/acf-value-functions-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/acf-value-functions-file/ |
|
|
|
|
|
@@ -4421,7 +4421,7 @@ Potentially log an error if a field doesn’t exist when we expect it to. |
|
|
|
|
|
--- |
|
|
|
|
|
# Acf Wp Functions Global Functions |
|
|
# Acf Wp Functions Global Functions <a id="secure-custom-fields/code-reference/acf-wp-functions-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/acf-wp-functions-file/ |
|
|
|
|
|
@@ -4447,25 +4447,25 @@ Decodes a post\_id value such as 1 or “user\_1” into an array containing the |
|
|
## `acf_get_object_type_rest_base()` |
|
|
|
|
|
Determine the REST base for a post type or taxonomy object. Note that this is not intended for use |
|
|
with term or post objects but is, instead, to be used with the underlying [WP\_Post\_Type](https://developer.wordpress.org/reference/classes/wp_post_type/) and [WP\_Taxonomy](https://developer.wordpress.org/reference/classes/wp_taxonomy/) |
|
|
with term or post objects but is, instead, to be used with the underlying [WP\_Post\_Type](#reference/classes/wp_post_type) and [WP\_Taxonomy](#reference/classes/wp_taxonomy) |
|
|
instances. |
|
|
|
|
|
- @param [WP\_Post\_Type](https://developer.wordpress.org/reference/classes/wp_post_type/)|[WP\_Taxonomy](https://developer.wordpress.org/reference/classes/wp_taxonomy/) $type\_object |
|
|
- @param [WP\_Post\_Type](#reference/classes/wp_post_type)|[WP\_Taxonomy](#reference/classes/wp_taxonomy) $type\_object |
|
|
- @return string|null |
|
|
|
|
|
## `acf_get_object_id()` |
|
|
|
|
|
Extract the ID of a given object/array. This supports all expected types handled by our update\_fields() and |
|
|
load\_fields() callbacks. |
|
|
|
|
|
- @param [WP\_Post](https://developer.wordpress.org/reference/classes/wp_post/)|[WP\_User](https://developer.wordpress.org/reference/classes/wp_user/)|[WP\_Term](https://developer.wordpress.org/reference/classes/wp_term/)|[WP\_Comment](https://developer.wordpress.org/reference/classes/wp_comment/)|array $object |
|
|
- @param [WP\_Post](#reference/classes/wp_post)|[WP\_User](#reference/classes/wp_user)|[WP\_Term](#reference/classes/wp_term)|[WP\_Comment](#reference/classes/wp_comment)|array $object |
|
|
- @return integer|mixed|null |
|
|
|
|
|
--- |
|
|
|
|
|
--- |
|
|
|
|
|
# Assets Global Functions |
|
|
# Assets Global Functions <a id="secure-custom-fields/code-reference/assets-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/assets-file/ |
|
|
|
|
|
@@ -4517,7 +4517,7 @@ Enqueues the WP media uploader scripts and styles. |
|
|
|
|
|
--- |
|
|
|
|
|
# Blocks Global Functions |
|
|
# Blocks Global Functions <a id="secure-custom-fields/code-reference/blocks-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/blocks-file/ |
|
|
|
|
|
@@ -4643,7 +4643,7 @@ The render callback for all ACF blocks. |
|
|
- @since ACF 5.9.2 |
|
|
- @param array $attributes The block attributes. |
|
|
- @param string $content The block content. |
|
|
- @param [WP\_Block](https://developer.wordpress.org/reference/classes/wp_block/) $wp\_block The block instance (since WP 5.5). |
|
|
- @param [WP\_Block](#reference/classes/wp_block) $wp\_block The block instance (since WP 5.5). |
|
|
- @return string The block HTML. |
|
|
|
|
|
## `acf_rendered_block()` |
|
|
@@ -4656,7 +4656,7 @@ Returns the rendered block HTML. |
|
|
- @param string $content The block content. |
|
|
- @param boolean $is\_preview Whether or not the block is being rendered for editing preview. |
|
|
- @param integer $post\_id The current post being edited or viewed. |
|
|
- @param [WP\_Block](https://developer.wordpress.org/reference/classes/wp_block/) $wp\_block The block instance (since WP 5.5). |
|
|
- @param [WP\_Block](#reference/classes/wp_block) $wp\_block The block instance (since WP 5.5). |
|
|
- @param array $context The block context array. |
|
|
- @param boolean $is\_ajax\_render Whether or not this is an ACF AJAX render. |
|
|
- @return string The block HTML. |
|
|
@@ -4670,7 +4670,7 @@ Renders the block HTML. |
|
|
- @param string $content The block content. |
|
|
- @param boolean $is\_preview Whether or not the block is being rendered for editing preview. |
|
|
- @param integer $post\_id The current post being edited or viewed. |
|
|
- @param [WP\_Block](https://developer.wordpress.org/reference/classes/wp_block/) $wp\_block The block instance (since WP 5.5). |
|
|
- @param [WP\_Block](#reference/classes/wp_block) $wp\_block The block instance (since WP 5.5). |
|
|
- @param array $context The block context array. |
|
|
- @return void|string |
|
|
|
|
|
@@ -4764,7 +4764,7 @@ Ensure a block ID always has a block\_ prefix for post meta internals. |
|
|
This directly copied from the WordPress core `serialize_block_attributes()` function. |
|
|
|
|
|
- We need this in order to make sure that block attributes are stored in a way that is |
|
|
consistent with how Gutenberg sends them over from JS, and so that things like [wp\_kses()](https://developer.wordpress.org/reference/functions/wp_kses/) |
|
|
consistent with how Gutenberg sends them over from JS, and so that things like [wp\_kses()](#reference/functions/wp_kses) |
|
|
work as expected. Copied from core to get around a bug that was fixed in 5.8.1 or on the off chance |
|
|
that folks are still using WP 5.3 or below. |
|
|
- TODO: Remove this when we refactor `acf_parse_save_blocks_callback()` to use `serialize_block()`, |
|
|
@@ -4812,7 +4812,7 @@ Set ACF data before a rest call if media scripts have not been enqueued yet for |
|
|
|
|
|
- @date 07/06/22 |
|
|
- @since ACF 6.0 |
|
|
- @param [WP\_REST\_Response](https://developer.wordpress.org/reference/classes/wp_rest_response/)|[WP\_HTTP\_Response](https://developer.wordpress.org/reference/classes/wp_http_response/)|[WP\_Error](https://developer.wordpress.org/reference/classes/wp_error/)|mixed $response The WordPress response object. |
|
|
- @param [WP\_REST\_Response](#reference/classes/wp_rest_response)|[WP\_HTTP\_Response](#reference/classes/wp_http_response)|[WP\_Error](#reference/classes/wp_error)|mixed $response The WordPress response object. |
|
|
- @return mixed |
|
|
|
|
|
## `acf_reset_media_enqueue_after_rest()` |
|
|
@@ -4821,7 +4821,7 @@ Reset wp\_enqueue\_media action count after REST call so it can happen inside th |
|
|
|
|
|
- @date 07/06/22 |
|
|
- @since ACF 6.0 |
|
|
- @param [WP\_REST\_Response](https://developer.wordpress.org/reference/classes/wp_rest_response/)|[WP\_HTTP\_Response](https://developer.wordpress.org/reference/classes/wp_http_response/)|[WP\_Error](https://developer.wordpress.org/reference/classes/wp_error/)|mixed $response The WordPress response object. |
|
|
- @param [WP\_REST\_Response](#reference/classes/wp_rest_response)|[WP\_HTTP\_Response](#reference/classes/wp_http_response)|[WP\_Error](#reference/classes/wp_error)|mixed $response The WordPress response object. |
|
|
- @return mixed |
|
|
|
|
|
## `acf_block_uses_post_meta()` |
|
|
@@ -4847,7 +4847,7 @@ Stores ACF field values in post meta for any blocks configured to do so. |
|
|
|
|
|
- @since ACF 6.3 |
|
|
- @param integer $post\_id The ID of the post being saved. |
|
|
- @param [WP\_Post](https://developer.wordpress.org/reference/classes/wp_post/) $post The post object. |
|
|
- @param [WP\_Post](#reference/classes/wp_post) $post The post object. |
|
|
- @return void |
|
|
|
|
|
## `acf_get_block_meta_values_to_save()` |
|
|
@@ -4863,7 +4863,7 @@ that need to be saved to post meta. |
|
|
|
|
|
--- |
|
|
|
|
|
# Compatibility Global Functions |
|
|
# Compatibility Global Functions <a id="secure-custom-fields/code-reference/compatibility-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/compatibility-file/ |
|
|
|
|
|
@@ -4880,7 +4880,7 @@ Returns true if compatibility is enabled for the given component. |
|
|
|
|
|
--- |
|
|
|
|
|
# Deprecated Global Functions |
|
|
# Deprecated Global Functions <a id="secure-custom-fields/code-reference/deprecated-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/deprecated-file/ |
|
|
|
|
|
@@ -4956,7 +4956,7 @@ acf\_get\_dir |
|
|
|
|
|
--- |
|
|
|
|
|
# Fields Global Functions |
|
|
# Fields Global Functions <a id="secure-custom-fields/code-reference/fields-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields-file/ |
|
|
|
|
|
@@ -5095,7 +5095,7 @@ Get the PRO only fields and their core metadata. |
|
|
|
|
|
--- |
|
|
|
|
|
# L10n Global Functions |
|
|
# L10n Global Functions <a id="secure-custom-fields/code-reference/l10n-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/l10n-file/ |
|
|
|
|
|
@@ -5111,7 +5111,7 @@ Returns the current locale. |
|
|
|
|
|
acf\_load\_textdomain |
|
|
|
|
|
- Loads the plugin’s translated strings similar to [load\_plugin\_textdomain()](https://developer.wordpress.org/reference/functions/load_plugin_textdomain/) . |
|
|
- Loads the plugin’s translated strings similar to [load\_plugin\_textdomain()](#reference/functions/load_plugin_textdomain) . |
|
|
- @date 8/1/19 |
|
|
- @since ACF 5.7.10 |
|
|
- @param string $locale The plugin’s current locale. |
|
|
@@ -5131,7 +5131,7 @@ acf\_load\_textdomain |
|
|
|
|
|
--- |
|
|
|
|
|
# Local Fields Global Functions |
|
|
# Local Fields Global Functions <a id="secure-custom-fields/code-reference/local-fields-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/local-fields-file/ |
|
|
|
|
|
@@ -5488,7 +5488,7 @@ Returns true if is a local key. |
|
|
|
|
|
--- |
|
|
|
|
|
# Local Json Global Functions |
|
|
# Local Json Global Functions <a id="secure-custom-fields/code-reference/local-json-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/local-json-file/ |
|
|
|
|
|
@@ -5523,7 +5523,7 @@ Deletes a field group JSON file. |
|
|
|
|
|
--- |
|
|
|
|
|
# Local Meta Global Functions |
|
|
# Local Meta Global Functions <a id="secure-custom-fields/code-reference/local-meta-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/local-meta-file/ |
|
|
|
|
|
@@ -5551,7 +5551,7 @@ acf\_reset\_meta |
|
|
|
|
|
--- |
|
|
|
|
|
# Locations Global Functions |
|
|
# Locations Global Functions <a id="secure-custom-fields/code-reference/locations-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/locations-file/ |
|
|
|
|
|
@@ -5668,7 +5668,7 @@ Alias of acf\_validate\_location\_rule(). |
|
|
|
|
|
--- |
|
|
|
|
|
# Loop Global Functions |
|
|
# Loop Global Functions <a id="secure-custom-fields/code-reference/loop-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/loop-file/ |
|
|
|
|
|
@@ -5716,7 +5716,7 @@ alias of acf()->loop->remove\_loop() |
|
|
|
|
|
--- |
|
|
|
|
|
# Revisions Global Functions |
|
|
# Revisions Global Functions <a id="secure-custom-fields/code-reference/revisions-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/revisions-file/ |
|
|
|
|
|
@@ -5744,7 +5744,7 @@ This function will return the latest revision for a given post |
|
|
|
|
|
--- |
|
|
|
|
|
# Scf Ui Options Page Functions Global Functions |
|
|
# Scf Ui Options Page Functions Global Functions <a id="secure-custom-fields/code-reference/scf-ui-options-page-functions-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/scf-ui-options-page-functions-file/ |
|
|
|
|
|
@@ -5930,7 +5930,7 @@ Imports an ACF UI options page into the database. |
|
|
|
|
|
--- |
|
|
|
|
|
# Upgrades Global Functions |
|
|
# Upgrades Global Functions <a id="secure-custom-fields/code-reference/upgrades-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/upgrades-file/ |
|
|
|
|
|
@@ -6059,7 +6059,7 @@ acf\_upgrade\_550\_taxonomy |
|
|
|
|
|
--- |
|
|
|
|
|
# Validation Global Functions |
|
|
# Validation Global Functions <a id="secure-custom-fields/code-reference/validation-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/validation-file/ |
|
|
|
|
|
@@ -6144,7 +6144,7 @@ This function will validate a field’s value |
|
|
|
|
|
--- |
|
|
|
|
|
# API Reference |
|
|
# API Reference <a id="secure-custom-fields/features/scf-api" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/scf-api/ |
|
|
|
|
|
@@ -6191,7 +6191,7 @@ The Secure Custom Fields API provides programmatic access to field data and plug |
|
|
|
|
|
--- |
|
|
|
|
|
# Admin Notices Global Functions |
|
|
# Admin Notices Global Functions <a id="secure-custom-fields/code-reference/admin/admin-notices-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/admin/admin-notices-file/ |
|
|
|
|
|
@@ -6228,7 +6228,7 @@ Creates and returns a new notice. |
|
|
|
|
|
--- |
|
|
|
|
|
# Admin Tools Global Functions |
|
|
# Admin Tools Global Functions <a id="secure-custom-fields/code-reference/admin/admin-tools-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/admin/admin-tools-file/ |
|
|
|
|
|
@@ -6264,7 +6264,7 @@ This function will return the admin URL to the tools page |
|
|
|
|
|
--- |
|
|
|
|
|
# Admin |
|
|
# Admin <a id="secure-custom-fields/code-reference/admin" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/admin/ |
|
|
|
|
|
@@ -6275,7 +6275,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/admi |
|
|
|
|
|
--- |
|
|
|
|
|
# API Helpers Global Functions |
|
|
# API Helpers Global Functions <a id="secure-custom-fields/code-reference/api/api-helpers-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/api/api-helpers-file/ |
|
|
|
|
|
@@ -6378,7 +6378,7 @@ Appends data to an existing key. |
|
|
|
|
|
## `acf_init()` |
|
|
|
|
|
Alias of acf()->[init()](https://developer.wordpress.org/reference/functions/init/) – the core ACF init function. |
|
|
Alias of acf()->[init()](#reference/functions/init) – the core ACF init function. |
|
|
|
|
|
- @since ACF 5.0.0 |
|
|
|
|
|
@@ -6412,7 +6412,7 @@ This function will return the url to a file within an internal ACF folder |
|
|
## `acf_plugin_dir_url()` |
|
|
|
|
|
This function will calculate the url to a plugin folder. |
|
|
Different to the WP [plugin\_dir\_url()](https://developer.wordpress.org/reference/functions/plugin_dir_url/) , this function can calculate for urls outside of the plugins folder (theme include). |
|
|
Different to the WP [plugin\_dir\_url()](#reference/functions/plugin_dir_url) , this function can calculate for urls outside of the plugins folder (theme include). |
|
|
|
|
|
- @since ACF 5.6.8 |
|
|
- @param string $file A file path inside the ACF plugin to get the plugin directory path from. |
|
|
@@ -6593,7 +6593,7 @@ acf\_get\_full\_version |
|
|
|
|
|
acf\_get\_terms |
|
|
|
|
|
- This function is a wrapper for the [get\_terms()](https://developer.wordpress.org/reference/functions/get_terms/) function |
|
|
- This function is a wrapper for the [get\_terms()](#reference/functions/get_terms) function |
|
|
- @since ACF 5.4.0 |
|
|
- @param $args (array) |
|
|
- @return (array) |
|
|
@@ -6664,7 +6664,7 @@ acf\_get\_numeric |
|
|
|
|
|
acf\_get\_posts |
|
|
|
|
|
- Similar to the [get\_posts()](https://developer.wordpress.org/reference/functions/get_posts/) function but with extra functionality. |
|
|
- Similar to the [get\_posts()](#reference/functions/get_posts) function but with extra functionality. |
|
|
- @since ACF 5.1.5 |
|
|
- @param array $args The query args. |
|
|
- @return array |
|
|
@@ -6694,7 +6694,7 @@ acf\_get\_grouped\_posts |
|
|
The internal ACF function to add order by post types for use in `acf_get_grouped_posts` |
|
|
|
|
|
- @param string $orderby The current orderby value for a query. |
|
|
- @param object $wp\_query The [WP\_Query](https://developer.wordpress.org/reference/classes/wp_query/). |
|
|
- @param object $wp\_query The [WP\_Query](#reference/classes/wp_query). |
|
|
- @return string The potentially modified orderby string. |
|
|
|
|
|
## `acf_get_pretty_user_roles()` |
|
|
@@ -6874,7 +6874,7 @@ acf\_get\_post\_id\_info |
|
|
acf\_isset\_termmeta |
|
|
|
|
|
- This function will return true if the termmeta table exists |
|
|
[https://developer.wordpress.org/reference/functions/get\_term\_meta/](https://developer.wordpress.org/reference/functions/get_term_meta/) |
|
|
[\#reference/functions/get\_term\_meta](#reference/functions/get_term_meta) |
|
|
- @since ACF 5.4.0 |
|
|
- @param $post\_id (int) |
|
|
- @return $post\_id (int) |
|
|
@@ -6938,7 +6938,7 @@ acf\_maybe\_get |
|
|
Returns an array of attachment data. |
|
|
|
|
|
- @since ACF 5.1.5 |
|
|
- @param integer|[WP\_Post](https://developer.wordpress.org/reference/classes/wp_post/) The attachment ID or object |
|
|
- @param integer|[WP\_Post](#reference/classes/wp_post) The attachment ID or object |
|
|
- @return array|false |
|
|
|
|
|
## `acf_get_truncated()` |
|
|
@@ -7306,7 +7306,7 @@ Detect if we’re on a multisite main site. |
|
|
|
|
|
--- |
|
|
|
|
|
# API Template Global Functions |
|
|
# API Template Global Functions <a id="secure-custom-fields/code-reference/api/api-template-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/api/api-template-file/ |
|
|
|
|
|
@@ -7638,7 +7638,7 @@ Deprecated Functions |
|
|
|
|
|
--- |
|
|
|
|
|
# API Term Global Functions |
|
|
# API Term Global Functions <a id="secure-custom-fields/code-reference/api/api-term-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/api/api-term-file/ |
|
|
|
|
|
@@ -7648,7 +7648,7 @@ Returns an array of taxonomy names. |
|
|
|
|
|
- @date 7/10/13 |
|
|
- @since ACF 5.0.0 |
|
|
- @param array $args An array of args used in the [get\_taxonomies()](https://developer.wordpress.org/reference/functions/get_taxonomies/) function. |
|
|
- @param array $args An array of args used in the [get\_taxonomies()](#reference/functions/get_taxonomies) function. |
|
|
- @return array An array of taxonomy names. |
|
|
|
|
|
## `acf_get_taxonomies_for_post_type()` |
|
|
@@ -7677,7 +7677,7 @@ acf\_get\_term\_title |
|
|
- Returns the title for this term object. |
|
|
- @date 10/9/18 |
|
|
- @since ACF 5.0.0 |
|
|
- @param object $term The [WP\_Term](https://developer.wordpress.org/reference/classes/wp_term/) object. |
|
|
- @param object $term The [WP\_Term](#reference/classes/wp_term) object. |
|
|
- @return string |
|
|
|
|
|
## `acf_get_grouped_terms()` |
|
|
@@ -7687,7 +7687,7 @@ acf\_get\_grouped\_terms |
|
|
- Returns an array of terms for the given query $args and groups by taxonomy name. |
|
|
- @date 2/8/18 |
|
|
- @since ACF 5.7.2 |
|
|
- @param array $args An array of args used in the [get\_terms()](https://developer.wordpress.org/reference/functions/get_terms/) function. |
|
|
- @param array $args An array of args used in the [get\_terms()](#reference/functions/get_terms) function. |
|
|
- @return array |
|
|
|
|
|
## `_acf_terms_clauses()` |
|
|
@@ -7715,21 +7715,21 @@ acf\_get\_pretty\_taxonomies |
|
|
|
|
|
acf\_get\_term |
|
|
|
|
|
- Similar to [get\_term()](https://developer.wordpress.org/reference/functions/get_term/) but with some extra functionality. |
|
|
- Similar to [get\_term()](#reference/functions/get_term) but with some extra functionality. |
|
|
- @date 19/8/18 |
|
|
- @since ACF 5.7.3 |
|
|
- @param mixed $term\_id The term ID or a string of “taxonomy:slug”. |
|
|
- @param string $taxonomy The taxonomyname. |
|
|
- @return [WP\_Term](https://developer.wordpress.org/reference/classes/wp_term/) |
|
|
- @return [WP\_Term](#reference/classes/wp_term) |
|
|
|
|
|
## `acf_encode_term()` |
|
|
|
|
|
acf\_encode\_term |
|
|
|
|
|
- Returns a “taxonomy:slug” string for a given [WP\_Term](https://developer.wordpress.org/reference/classes/wp_term/). |
|
|
- Returns a “taxonomy:slug” string for a given [WP\_Term](#reference/classes/wp_term). |
|
|
- @date 27/8/18 |
|
|
- @since ACF 5.7.4 |
|
|
- @param [WP\_Term](https://developer.wordpress.org/reference/classes/wp_term/) $term The term object. |
|
|
- @param [WP\_Term](#reference/classes/wp_term) $term The term object. |
|
|
- @return string |
|
|
|
|
|
## `acf_decode_term()` |
|
|
@@ -7739,14 +7739,14 @@ acf\_decode\_term |
|
|
- Decodes a “taxonomy:slug” string into an array of taxonomy and slug. |
|
|
- @date 27/8/18 |
|
|
- @since ACF 5.7.4 |
|
|
- @param [WP\_Term](https://developer.wordpress.org/reference/classes/wp_term/) $term The term object. |
|
|
- @param [WP\_Term](#reference/classes/wp_term) $term The term object. |
|
|
- @return string |
|
|
|
|
|
## `acf_get_encoded_terms()` |
|
|
|
|
|
acf\_get\_encoded\_terms |
|
|
|
|
|
- Returns an array of [WP\_Term](https://developer.wordpress.org/reference/classes/wp_term/) objects from an array of encoded strings |
|
|
- Returns an array of [WP\_Term](#reference/classes/wp_term) objects from an array of encoded strings |
|
|
- @date 9/9/18 |
|
|
- @since ACF 5.7.5 |
|
|
- @param array $values The array of encoded strings. |
|
|
@@ -7781,7 +7781,7 @@ acf\_get\_choice\_from\_term |
|
|
- Returns an array containing the id and text for this item. |
|
|
- @date 10/9/18 |
|
|
- @since ACF 5.7.6 |
|
|
- @param object $item The item object such as [WP\_Post](https://developer.wordpress.org/reference/classes/wp_post/) or [WP\_Term](https://developer.wordpress.org/reference/classes/wp_term/). |
|
|
- @param object $item The item object such as [WP\_Post](#reference/classes/wp_post) or [WP\_Term](#reference/classes/wp_term). |
|
|
- @param string $format The value format (term\_id, slug) |
|
|
- @return array |
|
|
|
|
|
@@ -7801,7 +7801,7 @@ No longer needed since WP introduced the termmeta table in WP 4.4. |
|
|
|
|
|
--- |
|
|
|
|
|
# ACF_Repeater_Table |
|
|
# ACF_Repeater_Table <a id="secure-custom-fields/code-reference/fields/class-acf-repeater-table-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/fields/class-acf-repeater-table-file/ |
|
|
|
|
|
@@ -7926,14 +7926,14 @@ Renders the actions displayed underneath the table. |
|
|
### `pagination` |
|
|
|
|
|
Renders the table pagination. |
|
|
Mostly lifted from the WordPress core [WP\_List\_Table](https://developer.wordpress.org/reference/classes/wp_list_table/) class. |
|
|
Mostly lifted from the WordPress core [WP\_List\_Table](#reference/classes/wp_list_table) class. |
|
|
|
|
|
- @since ACF 6.0.0 |
|
|
- @return void |
|
|
|
|
|
--- |
|
|
|
|
|
# Form Front Global Functions |
|
|
# Form Front Global Functions <a id="secure-custom-fields/code-reference/form-front-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/form-front-file/ |
|
|
|
|
|
@@ -7952,7 +7952,7 @@ Functions |
|
|
|
|
|
--- |
|
|
|
|
|
# Forms |
|
|
# Forms <a id="secure-custom-fields/code-reference/forms" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/forms/ |
|
|
|
|
|
@@ -7962,7 +7962,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/form |
|
|
|
|
|
--- |
|
|
|
|
|
# Hooks |
|
|
# Hooks <a id="secure-custom-fields/code-reference/hooks" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/hooks/ |
|
|
|
|
|
@@ -7973,7 +7973,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/hook |
|
|
|
|
|
--- |
|
|
|
|
|
# Acf Rest API Functions Global Functions |
|
|
# Acf Rest API Functions Global Functions <a id="secure-custom-fields/code-reference/class-acf-rest-api-file/acf-rest-api-functions-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/class-acf-rest-api-file/acf-rest-api-functions-file/ |
|
|
|
|
|
@@ -7991,7 +7991,7 @@ and provide API resource links to related objects. If a link is marked as ’emb |
|
|
in the main request under the\_embedded property when the request contains the \_embed URL parameter. |
|
|
|
|
|
- @see \\acf\_field::get\_rest\_links() |
|
|
@see <https://developer.wordpress.org/rest-api/using-the-rest-api/linking-and-embedding/> |
|
|
@see [\#rest-api/using-the-rest-api/linking-and-embedding](#rest-api/using-the-rest-api/linking-and-embedding) |
|
|
- @param string|integer $post\_id |
|
|
- @param array $field |
|
|
- @return array |
|
|
@@ -8010,7 +8010,7 @@ Format a given field’s value for output in the REST API. |
|
|
|
|
|
--- |
|
|
|
|
|
# ACF_Rest_Api |
|
|
# ACF_Rest_Api <a id="secure-custom-fields/code-reference/class-acf-rest-api-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/class-acf-rest-api-file/ |
|
|
|
|
|
@@ -8045,9 +8045,9 @@ fires off a filter, so we can add some custom validation for specific fields. |
|
|
and `sanitize_callback` for nested schema properties, see: |
|
|
<https://core.trac.wordpress.org/ticket/49960> |
|
|
- @param mixed $value |
|
|
- @param \\[WP\_REST\_Request](https://developer.wordpress.org/reference/classes/wp_rest_request/) $request |
|
|
- @param \\[WP\_REST\_Request](#reference/classes/wp_rest_request) $request |
|
|
- @param string $param |
|
|
- @return boolean|[WP\_Error](https://developer.wordpress.org/reference/classes/wp_error/) |
|
|
- @return boolean|[WP\_Error](#reference/classes/wp_error) |
|
|
|
|
|
### `load_fields` |
|
|
|
|
|
@@ -8056,7 +8056,7 @@ it is required by WordPress. |
|
|
|
|
|
- @param array $object An array representation of the post, term, or user object. |
|
|
- @param string $field\_name |
|
|
- @param [WP\_REST\_Request](https://developer.wordpress.org/reference/classes/wp_rest_request/) $request |
|
|
- @param [WP\_REST\_Request](#reference/classes/wp_rest_request) $request |
|
|
- @param string $object\_sub\_type Note that this isn’t the same as $this->object\_type. This variable is |
|
|
more specific and can be a post type or taxonomy. |
|
|
- @return array |
|
|
@@ -8067,11 +8067,11 @@ Update any incoming field values for the given object. This method is not a part |
|
|
public as it is required by WordPress. |
|
|
|
|
|
- @param array $data |
|
|
- @param [WP\_Post](https://developer.wordpress.org/reference/classes/wp_post/)|[WP\_Term](https://developer.wordpress.org/reference/classes/wp_term/)|[WP\_User](https://developer.wordpress.org/reference/classes/wp_user/) $object |
|
|
- @param [WP\_Post](#reference/classes/wp_post)|[WP\_Term](#reference/classes/wp_term)|[WP\_User](#reference/classes/wp_user) $object |
|
|
- @param string $property ‘acf’ |
|
|
- @param [WP\_REST\_Request](https://developer.wordpress.org/reference/classes/wp_rest_request/) $request |
|
|
- @param [WP\_REST\_Request](#reference/classes/wp_rest_request) $request |
|
|
- @param string $object\_sub\_type This will be the post type, the taxonomy, or ‘user’. |
|
|
- @return boolean|[WP\_Error](https://developer.wordpress.org/reference/classes/wp_error/) |
|
|
- @return boolean|[WP\_Error](#reference/classes/wp_error) |
|
|
|
|
|
### `make_identifier` |
|
|
|
|
|
@@ -8118,7 +8118,7 @@ Get all ACF fields for a given field group and allow third party filtering. |
|
|
|
|
|
--- |
|
|
|
|
|
# ACF_Rest_Embed_Links |
|
|
# ACF_Rest_Embed_Links <a id="secure-custom-fields/code-reference/class-acf-rest-api-file/class-acf-rest-embed-links-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/class-acf-rest-api-file/class-acf-rest-embed-links-file/ |
|
|
|
|
|
@@ -8149,14 +8149,14 @@ Add links to internal property for subsequent use in \\ACF\_Rest\_Embed\_Links:: |
|
|
|
|
|
Hook into the rest\_prepare\_{$type} filters and add links for the object being prepared. |
|
|
|
|
|
- @param [WP\_REST\_Response](https://developer.wordpress.org/reference/classes/wp_rest_response/) $response |
|
|
- @param [WP\_Post](https://developer.wordpress.org/reference/classes/wp_post/)|[WP\_User](https://developer.wordpress.org/reference/classes/wp_user/)|[WP\_Term](https://developer.wordpress.org/reference/classes/wp_term/) $item |
|
|
- @param [WP\_REST\_Request](https://developer.wordpress.org/reference/classes/wp_rest_request/) $request |
|
|
- @return [WP\_REST\_Response](https://developer.wordpress.org/reference/classes/wp_rest_response/) |
|
|
- @param [WP\_REST\_Response](#reference/classes/wp_rest_response) $response |
|
|
- @param [WP\_Post](#reference/classes/wp_post)|[WP\_User](#reference/classes/wp_user)|[WP\_Term](#reference/classes/wp_term) $item |
|
|
- @param [WP\_REST\_Request](#reference/classes/wp_rest_request) $request |
|
|
- @return [WP\_REST\_Response](#reference/classes/wp_rest_response) |
|
|
|
|
|
--- |
|
|
|
|
|
# ACF_Rest_Request |
|
|
# ACF_Rest_Request <a id="secure-custom-fields/code-reference/class-acf-rest-api-file/class-acf-rest-request-file" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/class-acf-rest-api-file/class-acf-rest-request-file/ |
|
|
|
|
|
@@ -8246,18 +8246,18 @@ object type as well as post type or taxonomy in order to provide the right conte |
|
|
Find the REST enabled post type object that matches the given REST base. |
|
|
|
|
|
- @param string $rest\_base |
|
|
- @return [WP\_Post\_Type](https://developer.wordpress.org/reference/classes/wp_post_type/)|null |
|
|
- @return [WP\_Post\_Type](#reference/classes/wp_post_type)|null |
|
|
|
|
|
### `get_taxonomy_by_rest_base` |
|
|
|
|
|
Find the REST enabled taxonomy object that matches the given REST base. |
|
|
|
|
|
- @param $rest\_base |
|
|
- @return [WP\_Taxonomy](https://developer.wordpress.org/reference/classes/wp_taxonomy/)|null |
|
|
- @return [WP\_Taxonomy](#reference/classes/wp_taxonomy)|null |
|
|
|
|
|
--- |
|
|
|
|
|
# REST API |
|
|
# REST API <a id="secure-custom-fields/code-reference/rest-api" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/code-reference/rest-api/ |
|
|
|
|
|
@@ -8270,7 +8270,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/code-reference/rest |
|
|
|
|
|
--- |
|
|
|
|
|
# Field Types |
|
|
# Field Types <a id="secure-custom-fields/features/field" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/ |
|
|
|
|
|
@@ -8319,7 +8319,7 @@ Each field type has its own documentation and tutorial showing how to implement |
|
|
|
|
|
--- |
|
|
|
|
|
# Repeater Field |
|
|
# Repeater Field <a id="secure-custom-fields/features/field/repeater" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/repeater/ |
|
|
|
|
|
@@ -8343,7 +8343,7 @@ The Repeater field allows you to create a set of sub fields which can be repeate |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Repeater Field |
|
|
# Using the Repeater Field <a id="secure-custom-fields/features/field/repeater/repeater-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/repeater/repeater-tutorial/ |
|
|
|
|
|
@@ -8377,7 +8377,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/features/field/repe |
|
|
|
|
|
--- |
|
|
|
|
|
# Select Field |
|
|
# Select Field <a id="secure-custom-fields/features/field/select" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/select/ |
|
|
|
|
|
@@ -8401,7 +8401,7 @@ The Select field provides a dropdown interface for selecting single or multiple |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Select Field |
|
|
# Using the Select Field <a id="secure-custom-fields/features/field/select/select-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/select/select-tutorial/ |
|
|
|
|
|
@@ -8435,7 +8435,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/features/field/sele |
|
|
|
|
|
--- |
|
|
|
|
|
# Separator Field |
|
|
# Separator Field <a id="secure-custom-fields/features/field/separator" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/separator/ |
|
|
|
|
|
@@ -8457,7 +8457,7 @@ The Separator field provides visual separation between fields in the editing int |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Separator Field |
|
|
# Using the Separator Field <a id="secure-custom-fields/features/field/separator/separator-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/separator/separator-tutorial/ |
|
|
|
|
|
@@ -8491,7 +8491,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/features/field/sepa |
|
|
|
|
|
--- |
|
|
|
|
|
# Tab Field |
|
|
# Tab Field <a id="secure-custom-fields/features/field/tab" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/tab/ |
|
|
|
|
|
@@ -8514,7 +8514,7 @@ The Tab field creates navigation tabs to organize fields into sections. It impro |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Tab Field |
|
|
# Using the Tab Field <a id="secure-custom-fields/features/field/tab/tab-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/tab/tab-tutorial/ |
|
|
|
|
|
@@ -8548,7 +8548,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/features/field/tab/ |
|
|
|
|
|
--- |
|
|
|
|
|
# Taxonomy Field |
|
|
# Taxonomy Field <a id="secure-custom-fields/features/field/taxonomy" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/taxonomy/ |
|
|
|
|
|
@@ -8572,7 +8572,7 @@ The Taxonomy field creates an interface for selecting taxonomy terms. It support |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Taxonomy Field |
|
|
# Using the Taxonomy Field <a id="secure-custom-fields/features/field/taxonomy/taxonomy-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/taxonomy/taxonomy-tutorial/ |
|
|
|
|
|
@@ -8606,7 +8606,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/features/field/taxo |
|
|
|
|
|
--- |
|
|
|
|
|
# Text Field |
|
|
# Text Field <a id="secure-custom-fields/features/field/text" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/text/ |
|
|
|
|
|
@@ -8630,7 +8630,7 @@ The Text field provides a standard single-line text input with various formattin |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Text Field |
|
|
# Using the Text Field <a id="secure-custom-fields/features/field/text/text-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/text/text-tutorial/ |
|
|
|
|
|
@@ -8666,7 +8666,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/features/field/text |
|
|
|
|
|
--- |
|
|
|
|
|
# Textarea Field |
|
|
# Textarea Field <a id="secure-custom-fields/features/field/textarea" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/textarea/ |
|
|
|
|
|
@@ -8690,7 +8690,7 @@ The Textarea field provides a multi-line text input for longer content with form |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Textarea Field |
|
|
# Using the Textarea Field <a id="secure-custom-fields/features/field/textarea/textarea-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/textarea/textarea-tutorial/ |
|
|
|
|
|
@@ -8726,7 +8726,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/features/field/text |
|
|
|
|
|
--- |
|
|
|
|
|
# Time Picker Field |
|
|
# Time Picker Field <a id="secure-custom-fields/features/field/time-picker" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/time-picker/ |
|
|
|
|
|
@@ -8750,7 +8750,7 @@ The Time Picker field provides an interface for selecting time values with custo |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the Time Picker Field |
|
|
# Using the Time Picker Field <a id="secure-custom-fields/features/field/time-picker/time-picker-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/time-picker/time-picker-tutorial/ |
|
|
|
|
|
@@ -8784,7 +8784,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/features/field/time |
|
|
|
|
|
--- |
|
|
|
|
|
# True/False Field |
|
|
# True/False Field <a id="secure-custom-fields/features/field/true-false" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/true-false/ |
|
|
|
|
|
@@ -8808,7 +8808,7 @@ The True/False field provides a simple toggle switch for boolean values. It offe |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the True/False Field |
|
|
# Using the True/False Field <a id="secure-custom-fields/features/field/true-false/true-false-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/true-false/true-false-tutorial/ |
|
|
|
|
|
@@ -8842,7 +8842,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/features/field/true |
|
|
|
|
|
--- |
|
|
|
|
|
# URL Field |
|
|
# URL Field <a id="secure-custom-fields/features/field/url" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/url/ |
|
|
|
|
|
@@ -8865,7 +8865,7 @@ The URL field provides input for web addresses with validation and formatting op |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the URL Field |
|
|
# Using the URL Field <a id="secure-custom-fields/features/field/url/url-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/url/url-tutorial/ |
|
|
|
|
|
@@ -8899,7 +8899,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/features/field/url/ |
|
|
|
|
|
--- |
|
|
|
|
|
# User Field |
|
|
# User Field <a id="secure-custom-fields/features/field/user" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/user/ |
|
|
|
|
|
@@ -8923,7 +8923,7 @@ The User field creates an interface for selecting WordPress users. It supports m |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the User Field |
|
|
# Using the User Field <a id="secure-custom-fields/features/field/user/user-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/user/user-tutorial/ |
|
|
|
|
|
@@ -8957,7 +8957,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/features/field/user |
|
|
|
|
|
--- |
|
|
|
|
|
# WYSIWYG Field |
|
|
# WYSIWYG Field <a id="secure-custom-fields/features/field/wysiwyg" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/wysiwyg/ |
|
|
|
|
|
@@ -8981,7 +8981,7 @@ The WYSIWYG (What You See Is What You Get) field provides a rich text editor wit |
|
|
|
|
|
--- |
|
|
|
|
|
# Using the WYSIWYG Field |
|
|
# Using the WYSIWYG Field <a id="secure-custom-fields/features/field/wysiwyg/wysiwyg-tutorial" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/features/field/wysiwyg/wysiwyg-tutorial/ |
|
|
|
|
|
@@ -9015,7 +9015,7 @@ Source: https://developer.wordpress.org/secure-custom-fields/features/field/wysi |
|
|
|
|
|
--- |
|
|
|
|
|
# Getting Started with Secure Custom Fields |
|
|
# Getting Started with Secure Custom Fields <a id="secure-custom-fields" /> |
|
|
|
|
|
Source: https://developer.wordpress.org/secure-custom-fields/ |
|
|
|
|
|
|