wordproof_data

wordproof_data

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.22.9

apply_filters('wordproof_data') is found 1 times:

  • /vendor_prefixed/wordproof/wordpress-sdk/app/Controllers/PostEditorDataController.php line 48

    Warning: Undefined array key 52 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 53 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

         */
        private function enqueueAndLocalizeScript()
        {
            $data = \YoastSEO_Vendor\WordProof\SDK\Helpers\PostEditorHelper::getPostEditorData($this->translations);
            $data = \apply_filters('wordproof_data', $data);
            \YoastSEO_Vendor\WordProof\SDK\Helpers\AssetHelper::enqueue('data');
            \YoastSEO_Vendor\WordProof\SDK\Helpers\AssetHelper::localize('data', 'wordproofSdk', $data);
        }
    }