graphql_html_entity_decoding_enabled
apply_filters( 'graphql_html_entity_decoding_enabled', $enabled, $str, $field_name, $this );
Determine whether html_entity_decode should be applied to the string
- Type: filter
- Group: Model Layer
- Since: 0.15.0
- Source File:
plugins/wp-graphql/src/Model/Model.php
Parameters
$enabled(bool): Whether decoding is enabled by default for the string passed in$str(string): The string to decode$field_name(string): The name of the field being encoded$model(\WPGraphQL\Model\Model): The Model the field is being decoded on
Source
apply_filters( 'graphql_html_entity_decoding_enabled', $enabled, $str, $field_name, $this );
Related
Model::html_entity_decode()inplugins/wp-graphql/src/Model/Model.php:544