0163-filters-graphql-get-setting-section-fields
title: graphql_get_setting_section_fields hookType: filter hookGroup: settings plugin: wp-graphql
graphql_get_setting_section_fields
apply_filters( 'graphql_get_setting_section_fields', $section_fields, $section_name, $default_value );
Filter the section fields
- Type: filter
- Group: Settings and Admin
- Since: 0.13.0
- Source File:
plugins/wp-graphql/access-functions.php
Parameters
$section_fields(array<string,mixed>): The values of the fields stored for the section$section_name(string): The name of the section$default_value(mixed): The default value for the option being retrieved
Source
apply_filters( 'graphql_get_setting_section_fields', $section_fields, $section_name, $default_value );
Related
get_graphql_setting()inplugins/wp-graphql/access-functions.php:890
这篇文档对你有帮助吗?
谢谢你的反馈!