I hereby claim:
- I am cesarbenavides777 on github.
- I am cesarbenavides (https://keybase.io/cesarbenavides) on keybase.
- I have a public key ASCZvDsYWEIv1Llqa8QujJrK5QrejkreMHgmFmYBSa3Crwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| // ...existing code | |
| // import | |
| use WPGraphQL\Acf\FieldType\Table; | |
| class FieldTypeRegistry { | |
| // ...exising code | |
| Table::register_field_type(); |
| <?php | |
| add_action('acf/init', 'my_acf_init'); | |
| // Removing <p> tags | |
| remove_filter( 'the_content', 'wpautop' ); | |
| remove_filter( 'the_excerpt', 'wpautop' ); | |
| // Gravity Forms ACF | |
| if (!defined('ABSPATH')) { | |
| exit; | |
| } |
| <?php | |
| /** | |
| * Config for WPGraphQL ACF | |
| * | |
| * @package wp-graphql-acf | |
| */ | |
| namespace WPGraphQL\ACF; | |
| use Exception; |
| <?php | |
| class acf_field_relationship_multisite extends acf_field { | |
| /* | |
| * __construct | |
| * | |
| * This function will setup the field type data | |
| * |
| { | |
| resolve: `gatsby-plugin-gatsby-cloud`, // `gatsby-plugin-gatsby-cloud` | |
| options: { | |
| allPageHeaders: [ | |
| 'Strict-Transport-Security: max-age=31536000; includeSubDomains; preload', | |
| ], | |
| headers: { | |
| '/*': ['Cache-Control: public, max-age=31536000, immutable'], | |
| 'static/*': ['Cache-Control: public, max-age=31536000, immutable'], | |
| }, |
| // export const onInitialClientRender = () => { | |
| // // wait to init GTM until after React has hydrated in this lifecycle | |
| // const dataLayer = window.dataLayer || [] | |
| // dataLayer.push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' }) | |
| // } | |
| function initGTM() { | |
| if (window.isGTMLoaded) { | |
| return false | |
| } |
| import React from 'react' | |
| export const onRenderBody = ({ setHeadComponents }) => { | |
| setHeadComponents([ | |
| <link | |
| rel="preconnect" | |
| key="dns-prefetch-google-tag-manager" | |
| href="https://www.googletagmanager.com" | |
| as="script" | |
| />, |
I hereby claim:
To claim this, I am signing this object: