aioseo_schema_json_flags, 0
aioseo_schema_json_flags, 0
Appears in: all-in-one-seo-pack.5.0.0.1
Hook Type: filter
Displaying hooks found in version: all-in-one-seo-pack.5.0.0.1apply_filters('aioseo_schema_json_flags, 0') is found 1 times:
- /app/Common/Schema/Helpers.php line 103
} ); // Allow users to control the default json_encode flags. // Some users report better SEO performance when non-Latin unicode characters are not escaped. $jsonFlags = apply_filters( 'aioseo_schema_json_flags', 0 ); $json = isset( $_GET['aioseo-dev'] ) || aioseo()->schema->generatingValidatorOutput // phpcs:ignore HM.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Recommended ? aioseo()->helpers->wpJsonEncode( $schema, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE ) : aioseo()->helpers->wpJsonEncode( $schema, $jsonFlags ); return $json;