跳转到主要内容

书籍

Secure Custom Fields 文档

Secure Custom Fields 文档,介绍字段组与安全相关用法。

146 页更新于 2 个月前

开始阅读

目录146

  1. 01 Undocumented Code Elements This file tracks code elements that need documentation. Blocks/Bindings.php Hooks acf/bindings/field_not_al... 2 个月前
  2. 02 Acf Bidirectional Functions Global Functions acf_update_bidirectional_values() Process updating bidirectional fields. @since ACF 6.2 @param array ... 2 个月前
  3. 03 Acf Field Functions Global Functions acf_get_field() acf_get_field Retrieves a field for the given identifier. @date 17/1/19 @since ACF 5.7.1... 2 个月前
  4. 04 Acf Field Group Functions Global Functions acf_get_field_group() acf_get_field_group Retrieves a field group for the given identifier. @date 30/09/... 2 个月前
  5. 05 Acf Form Functions Global Functions acf_set_form_data() acf_set_form_data Sets data about the current form. @date 6/10/13 @since ACF 5.0.0 @... 2 个月前
  6. 06 Acf Helper Functions Global Functions acf_is_empty() Returns true if the value provided is considered "empty". Allows numbers such as 0. @date ... 2 个月前
  7. 07 Acf Hook Functions Global Functions acf_add_filter_variations() acf_add_filter_variations Registers variations for the given filter. @date 2... 2 个月前
  8. 08 Acf Input Functions Global Functions acf_filter_attrs() acf_filter_attrs Filters out empty attrs from the provided array. @date 11/6/19 @sinc... 2 个月前
  9. 09 Acf Internal Post Type Functions Global Functions acf_get_internal_post_type_instance() Gets an instance of an ACF_Internal_Post_Type. @param string $post_ty... 2 个月前
  10. 10 Acf Meta Functions Global Functions acf_get_meta() Returns an array of "ACF only" meta for the given post_id. @date 9/10/18 @since ACF 5.8.0... 2 个月前
  11. 11 Acf Post Functions Global Functions acf_get_post_templates() Returns available templates for each post type. @date 29/8/17 @since ACF 5.6.2 ... 2 个月前
  12. 12 Acf Post Type Functions Global Functions acf_get_post_type() Get an ACF CPT as an array @param integer|string $id The post ID being queried. @return... 2 个月前
  13. 13 Acf Taxonomy Functions Global Functions acf_get_taxonomy() Get an ACF taxonomy as an array @param integer|string $id The post ID being queried. @re... 2 个月前
  14. 14 Acf User Functions Global Functions acf_get_users() acf_get_users Similar to the get_users() function but with extra functionality. @date 9/... 2 个月前
  15. 15 Acf Utility Functions Global Functions acf_new_instance() acf_new_instance Creates a new instance of the given class and stores it in the instance... 2 个月前
  16. 16 Acf Value Functions Global Functions acf_get_reference() acf_get_reference Retrieves the field key for a given field name and post_id. @date ... 2 个月前
  17. 17 Acf Wp Functions Global Functions acf_get_object_type() Returns a WordPress object type. @date 1/4/20 @since ACF 5.9.0 @param string $ob... 2 个月前
  18. 18 Assets Global Functions acf_localize_text() Appends an array of i18n data for localization. @date 13/4/18 @since ACF 5.6.9 @para... 2 个月前
  19. 19 Blocks Global Functions acf_add_block_namespace() Prefix block names for SCF blocks registered through block.json @since ACF 6.0.0 ... 2 个月前
  20. 20 Compatibility Global Functions acf_get_compatibility() Returns true if compatibility is enabled for the given component. @date 20/1/15 ... 2 个月前
  21. 21 Datastore Global Functions acf_is_using_datastore() Whether the SCF datastore is enabled. The datastore requires WordPress 6.7+ and ca... 2 个月前
  22. 22 Deprecated Global Functions acf_render_field_wrap_label() acf_render_field_wrap_label Renders the field's label. @date 19/9/17 @sinc... 2 个月前
  23. 23 Fields Global Functions acf_register_field_type() alias of acf()->fields->register_field_type() @type function @date 31/5/17 @si... 2 个月前
  24. 24 Code Reference Files Acf Bidirectional Functions Acf Field Functions Acf Field Group Functions Acf Form Functions Acf Help... 2 个月前
  25. 25 L10n Global Functions acf_get_locale() Returns the current locale. @date 16/12/16 @since ACF 5.5.0 @return string acf_load_te... 2 个月前
  26. 26 Local Fields Global Functions acf_enable_local() acf_enable_local Enables the local filter. @date 22/1/19 @since ACF 5.7.10 @return v... 2 个月前
  27. 27 Local Json Global Functions acf_get_local_json_files() Returns an array of found JSON field group files. @date 14/4/20 @since ACF 5.... 2 个月前
  28. 28 Local Meta Global Functions acf_setup_meta() acf_setup_meta Adds postmeta to storage. @date 8/10/18 @since ACF 5.8.0 @see ACF_Lo... 2 个月前
  29. 29 Locations Global Functions acf_register_location_type() Registers a location type. @date 8/4/20 @since ACF 5.9.0 @param string $c... 2 个月前
  30. 30 Loop Global Functions acf_add_loop() alias of acf()->loop->add_loop() @type function @date 6/10/13 @since ACF 5.0.0 @param n... 2 个月前
  31. 31 Revisions Global Functions acf_save_post_revision() This function will copy meta from a post to it's latest revision @type function... 2 个月前
  32. 32 Scf Ui Options Page Functions Global Functions acf_get_ui_options_page() Get an SCF UI options page as an array @since ACF 6.2 @param integer|string $id T... 2 个月前
  33. 33 Upgrades Global Functions acf_has_upgrade() acf_has_upgrade Returns true if this site has an upgrade available. @date 24/8/18 @sin... 2 个月前
  34. 34 Validation Global Functions acf_add_validation_error() Add validation error. Alias of acf()->validation->add_error() @type function ... 2 个月前
  35. 35 Admin Commands Global Functions acf_commands_init() Initializes SCF commands integration This function handles the integration with WordPre... 2 个月前
  36. 36 Admin Notices Global Functions acf_new_admin_notice() Instantiates and returns a new model. @date 23/12/18 @since ACF 5.8.0 @param ar... 2 个月前
  37. 37 Admin Tools Global Functions acf_register_admin_tool() Alias of acf()->admin_tools->register_tool() @type function @date 31/5/17 @sin... 2 个月前
  38. 38 Beta Features Global Functions scf_register_admin_beta_feature() Alias of acf()->admin_beta_features->register_beta_feature() @type fun... 2 个月前
  39. 39 Admin Files Admin Commands Admin Notices Admin Tools Beta Features 2 个月前
  40. 40 Admin Views Global Files Navigation 2 个月前
  41. 41 Navigation Global Functions acf_print_menu_section() Helper function for looping over the provided menu items and echoing out the neces... 2 个月前
  42. 42 API Helpers Global Functions acf_is_array() This function will return true for a non empty array @since ACF 5.4.0 @param mixed $arra... 2 个月前
  43. 43 API Template Global Functions get_field() This function will return a custom field value for a specific field name/key + post_id. There i... 2 个月前
  44. 44 API Term Global Functions acf_get_taxonomies() Returns an array of taxonomy names. @date 7/10/13 @since ACF 5.0.0 @param array $... 2 个月前
  45. 45 Api Files Api Helpers Api Template Api Term 2 个月前
  46. 46 ACF_Repeater_Table ACF_Repeater_Table Helper class for rendering repeater tables. Properties $field The main field array used ... 2 个月前
  47. 47 Fields Files Class Acf Repeater Table 2 个月前
  48. 48 Form Front Global Functions acf_form_head() Functions alias of acf()->form->functions @type function @date 11/06/2014 @since ACF 5.0... 2 个月前
  49. 49 Forms Files Form Front 2 个月前
  50. 50 Hooks Files Action Filter 2 个月前
  51. 51 Acf Rest API Functions Global Functions acf_get_field_rest_schema() Get the REST API schema for a given field. @param array $field @return array ac... 2 个月前
  52. 52 ACF_Rest_Api Properties $request @var ACF_Rest_Request $embed_links @var ACF_Rest_Embed_Links $rest_update_plan Fields a... 2 个月前
  53. 53 ACF_Rest_Embed_Links Class ACF_Rest_Embed_Links Manage the addition of embed links on supported REST endpoints. Properties $link... 2 个月前
  54. 54 ACF_Rest_Request Class ACF_Rest_Request Properties $readonly_props Define which private/protected class properties are allow... 2 个月前
  55. 55 SCF_Rest_Types_Endpoint Class SCF_Rest_Types_Endpoint Extends the /wp/v2/types endpoint to include SCF fields and source filtering.... 2 个月前
  56. 56 REST API Files Acf REST API Functions Class Acf REST API Class ACF REST Embed Links Class ACF REST Request Class ACF... 2 个月前
  57. 57 Architecture This document explains the internal architecture of Secure Custom Fields. Core Components 1. Field Manageme... 2 个月前
  58. 58 Core Concepts This section covers the fundamental concepts and architecture of Secure Custom Fields. In This Section Arch... 2 个月前
  59. 59 Features This section details all features available in Secure Custom Fields. Core Features Post Types - Create and ... 2 个月前
  60. 60 Local JSON Local JSON saves field group, post type, and taxonomy definitions as JSON files whenever they are edited. T... 2 个月前
  61. 61 Custom Post Types Learn how to create and manage custom post types with SCF. Creating Post Types Basic Usage Create a custom ... 2 个月前
  62. 62 API Reference The Secure Custom Fields API provides programmatic access to field data and plugin functionality. Core Func... 2 个月前
  63. 63 Field Documentation Guide This directory contains documentation for all field types in Secure Custom Fields. Structure Each field typ... 2 个月前
  64. 64 Field Types Documentation for all available field types in Secure Custom Fields. Each field type has its own documentat... 2 个月前
  65. 65 Accordion Field The Accordion field creates collapsible sections to organize your fields into logical groups. It helps impr... 2 个月前
  66. 66 Using the Accordion Field Basic Setup Create a new Field Group Add an Accordion field Configure basic settings: Set a clear section t... 2 个月前
  67. 67 Button Group Field The Button Group field provides a set of buttons where users can select one option from multiple choices. I... 2 个月前
  68. 68 Using the Button Group Field Basic Setup Create a new Field Group Add a Button Group field Configure the choices: Add value:label pairs ... 2 个月前
  69. 69 Checkbox Field The Checkbox field allows users to select one or multiple choices from a set of options. It's ideal for sit... 2 个月前
  70. 70 Using the Checkbox Field Basic Setup Create a new Field Group Add a Checkbox field Configure options: Add checkbox choices Set layou... 2 个月前
  71. 71 Clone Field The Clone field allows you to reuse existing fields or field groups in multiple locations. This helps maint... 2 个月前
  72. 72 Using the Clone Field Basic Setup Create a new Field Group Add a Clone field Configure clone settings: Select fields/groups to cl... 2 个月前
  73. 73 Color Picker Field The Color Picker field provides an interactive interface for selecting colors. It supports both RGB and RGB... 2 个月前
  74. 74 Using the Color Picker Field Basic Setup Create a new Field Group Add a Color Picker field Configure options: Set default color Enable/d... 2 个月前
  75. 75 Date Picker Field The Date Picker field provides a calendar interface for selecting dates. It offers a user-friendly way to i... 2 个月前
  76. 76 Using the Date Picker Field Basic Setup Create a new Field Group Add a Date Picker field Configure options: Set display format Choose r... 2 个月前
  77. 77 Date Time Picker Field The Date Time Picker field combines date and time selection into a single interface. It provides precise co... 2 个月前
  78. 78 Using the Date Time Picker Field Basic Setup Create a new Field Group Add a Date Time Picker field Configure options: Set display format Cho... 2 个月前
  79. 79 Email Field The Email field provides a specialized input for email addresses. It includes built-in validation to ensure... 2 个月前
  80. 80 Using the Email Field Basic Setup Create a new Field Group Add an Email field Configure options: Set placeholder text Add prepend... 2 个月前
  81. 81 File Field The File field enables file uploads and management through the WordPress media library. It supports various... 2 个月前
  82. 82 Using the File Field Basic Setup Create a new Field Group Add a File field Configure options: Set allowed file types Configure s... 2 个月前
  83. 83 Flexible Content Field The Flexible Content field provides a flexible content builder interface. It allows users to create dynamic... 2 个月前
  84. 84 Using the Flexible Content Field Basic Setup Create a new Field Group Add a Flexible Content field Configure layouts: Create layout types Ad... 2 个月前
  85. 85 Gallery Field The Gallery field enables management of multiple images in a single field. It provides an intuitive interfa... 2 个月前
  86. 86 Using the Gallery Field Basic Setup Create a new Field Group Add a Gallery field Configure options: Set image restrictions Choose p... 2 个月前
  87. 87 Google Map Field The Google Map field provides an interactive map interface for selecting and storing location data. It inte... 2 个月前
  88. 88 Using the Google Map Field Basic Setup Create a new Field Group Add a Google Map field Configure options: Set default center point Con... 2 个月前
  89. 89 Group Field The Group field allows you to organize multiple fields together into a single data structure. It helps crea... 2 个月前
  90. 90 Using the Group Field Basic Setup Create a new Field Group Add a Group field Configure sub-fields: Add desired fields Arrange fie... 2 个月前
  91. 91 Icon Picker Field The Icon Picker field provides an interface for selecting icons from various sources including Dashicons, c... 2 个月前
  92. 92 Using the Icon Picker Field Basic Setup Create a new Field Group Add an Icon Picker field Configure options: Select icon libraries Set ... 2 个月前
  93. 93 Image Field The Image field provides a dedicated interface for uploading and selecting images through the WordPress med... 2 个月前
  94. 94 Using the Image Field Basic Setup Create a new Field Group Add an Image field Configure options: Set preview size Choose library ... 2 个月前
  95. 95 Link Field The Link field provides an interface for creating links with various properties. It allows users to select ... 2 个月前
  96. 96 Using the Link Field Basic Setup Create a new Field Group Add a Link field Configure options: Choose return format Set default v... 2 个月前
  97. 97 Message Field The Message field displays instructional text or HTML content within the editing interface. It's useful for... 2 个月前
  98. 98 Using the Message Field Basic Setup Create a new Field Group Add a Message field Configure options: Enter message content Set forma... 2 个月前
  99. 99 Nav Menu Field The Nav Menu Field field provides a way to select nav menus and output them. Key Features Different Return ... 2 个月前
  100. 100 **Using the Nav Menu Field** Basic Setup To get started with the Nav Menu Field in SCF, follow these steps to configure and display a Wo... 2 个月前
  101. 101 Number Field The Number field provides an input specifically for numeric values. It includes validation and formatting o... 2 个月前
  102. 102 Using the Number Field Basic Setup Create a new Field Group Add a Number field Configure options: Set min/max values Configure ste... 2 个月前
  103. 103 oEmbed Field The oEmbed field allows embedding external content from various providers like YouTube, Vimeo, and Twitter.... 2 个月前
  104. 104 Using the oEmbed Field Basic Setup Create a new Field Group Add an oEmbed field Configure options: Set width/height Configure prev... 2 个月前
  105. 105 Page Link Field The Page Link field provides an interface for creating links to internal WordPress content. It allows selec... 2 个月前
  106. 106 Using the Page Link Field Basic Setup Create a new Field Group Add a Page Link field Configure options: Select post types Configure t... 2 个月前
  107. 107 Password Field The Password field provides a secure input for password data. It includes masking functionality and can be ... 2 个月前
  108. 108 Using the Password Field Basic Setup Create a new Field Group Add a Password field Configure options: Set placeholder text Add prepe... 2 个月前
  109. 109 Post Object Field The Post Object field creates relationships with other WordPress posts, pages, or custom post types. It pro... 2 个月前
  110. 110 Using the Post Object Field Basic Setup Create a new Field Group Add a Post Object field Configure options: Select post types Set taxon... 2 个月前
  111. 111 Radio Field The Radio field presents users with a list of options where they can select a single choice. It provides a ... 2 个月前
  112. 112 Using the Radio Field Basic Setup Create a new Field Group Add a Radio field Configure options: Add choice options Set layout for... 2 个月前
  113. 113 Range Field The Range field provides a slider interface for selecting numeric values within a defined range. It offers ... 2 个月前
  114. 114 Using the Range Field Basic Setup Create a new Field Group Add a Range field Configure options: Set min/max values Configure step... 2 个月前
  115. 115 Repeater Field The Repeater field allows you to create a set of sub fields which can be repeated again and again. Key Feat... 2 个月前
  116. 116 Using the Repeater Field Basic Setup Create a new Field Group Add a Repeater field Configure options: Add sub fields Set min/max row... 2 个月前
  117. 117 Select Field The Select field provides a dropdown interface for selecting single or multiple options from a predefined l... 2 个月前
  118. 118 Using the Select Field Basic Setup Create a new Field Group Add a Select field Configure options: Add choice options Set default v... 2 个月前
  119. 119 Separator Field The Separator field provides visual separation between fields in the editing interface. It helps organize a... 2 个月前
  120. 120 Using the Separator Field Basic Setup Create a new Field Group Add a Separator field Configure options: Set label text Add instructio... 2 个月前
  121. 121 Tab Field The Tab field creates navigation tabs to organize fields into sections. It improves the editing interface b... 2 个月前
  122. 122 Using the Tab Field Basic Setup Create a new Field Group Add a Tab field Configure options: Set tab label Choose placement Set ... 2 个月前
  123. 123 Taxonomy Field The Taxonomy field creates an interface for selecting taxonomy terms. It supports multiple selection method... 2 个月前
  124. 124 Using the Taxonomy Field Basic Setup Create a new Field Group Add a Taxonomy field Configure options: Select taxonomy Choose field t... 2 个月前
  125. 125 Text Field The Text field provides a standard single-line text input with various formatting and validation options. K... 2 个月前
  126. 126 Using the Text Field Basic Setup Create a new Field Group Add a Text field Configure options: Set placeholder Add character limi... 2 个月前
  127. 127 Textarea Field The Textarea field provides a multi-line text input for longer content with formatting options and characte... 2 个月前
  128. 128 Using the Textarea Field Basic Setup Create a new Field Group Add a Textarea field Configure options: Set rows Add placeholder Confi... 2 个月前
  129. 129 Time Picker Field The Time Picker field provides an interface for selecting time values with customizable display and increme... 2 个月前
  130. 130 Using the Time Picker Field Basic Setup Create a new Field Group Add a Time Picker field Configure options: Set time format Choose incr... 2 个月前
  131. 131 True/False Field The True/False field provides a simple toggle switch for boolean values. It offers a clean interface for ye... 2 个月前
  132. 132 Using the True/False Field Basic Setup Create a new Field Group Add a True/False field Configure options: Set message Choose default C... 2 个月前
  133. 133 URL Field The URL field provides input for web addresses with validation and formatting options. It ensures proper UR... 2 个月前
  134. 134 Using the URL Field Basic Setup Create a new Field Group Add a URL field Configure options: Set placeholder Configure protocol ... 2 个月前
  135. 135 User Field The User field creates an interface for selecting WordPress users. It supports multiple selection methods a... 2 个月前
  136. 136 Using the User Field Basic Setup Create a new Field Group Add a User field Configure options: Select roles Set return format Con... 2 个月前
  137. 137 WYSIWYG Field The WYSIWYG (What You See Is What You Get) field provides a rich text editor with formatting tools and medi... 2 个月前
  138. 138 Using the WYSIWYG Field Basic Setup Create a new Field Group Add a WYSIWYG field Configure options: Choose toolbar Set media option... 2 个月前
  139. 139 Creating Your First Custom Field A beginner-friendly guide to adding custom fields using Secure Custom Fields (SCF). What is a custom field?... 2 个月前
  140. 140 Creating Your First Options Page A step-by-step guide to building a global settings page using Secure Custom Fields (SCF). What is an option... 2 个月前
  141. 141 Creating Your First Post Type A step-by-step guide to creating a custom post type using Secure Custom Fields (SCF). What is a custom post... 2 个月前
  142. 142 Creating Your First Taxonomy A step-by-step guide to creating a custom taxonomy using Secure Custom Fields (SCF). What is a taxonomy? A ... 2 个月前
  143. 143 Tutorials Step-by-step guides for working with Secure Custom Fields. Getting Started Creating Your First Post Type - ... 2 个月前
  144. 144 Understanding the Relationship Between Post Types, Taxonomies, and Custom Fields In WordPress, the true power of content modeling comes from combining Post Types, Taxonomies, and Custom Fi... 2 个月前
  145. 145 Getting Started with Secure Custom Fields This section helps you get up and running with Secure Custom Fields (SCF). Whether you're new to WordPress ... 2 个月前
  146. 146 Quick Start Guide This guide will help you create your first custom field group with Secure Custom Fields. Creating a Field G... 2 个月前