PHP code example of claytoncollie / tracking-code-for-pinterest-pixel

1. Go to this page and download the library: Download claytoncollie/tracking-code-for-pinterest-pixel library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

claytoncollie / tracking-code-for-pinterest-pixel example snippets


add_filter(
	'tracking_code_for_pinterest_pixel_id',
	/**
	 * Set Pinterest Pixel tag ID.
	 *
	 * @param string $tag_id Tag ID.
	 *
	 * @return string
	 */
	function ( $tag_id ) {
		return '1234567891234';
	}
);