You are here

function hook_simple_facebook_pixel_noscript_code_alter in Simple Facebook Pixel 8

Alter the noscript code for pages.

Parameters

string $noscript_code: The noscript code.

1 function implements hook_simple_facebook_pixel_noscript_code_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

simple_facebook_pixel_test_hooks_simple_facebook_pixel_noscript_code_alter in tests/modules/simple_facebook_pixel_test_hooks/simple_facebook_pixel_test_hooks.module
Implements hook_simple_facebook_pixel_noscript_code_alter().
1 invocation of hook_simple_facebook_pixel_noscript_code_alter()
PixelBuilderService::getPixelNoScriptCode in src/PixelBuilderService.php
Gets pixel no-script code.

File

./simple_facebook_pixel.api.php, line 36
Hooks specific to the Simple Facebook Pixel module.

Code

function hook_simple_facebook_pixel_noscript_code_alter(&$noscript_code) {
  $noscript_code = 'Altered noscript code';
}