inc2734/wp-adsense

1.0.1 2020-02-04 04:08 UTC

This package is auto-updated.

Last update: 2024-10-04 20:59:45 UTC


README

Build Status Latest Stable Version License

Install

$ composer require inc2734/wp-adsense

How to use

use Inc2734\WP_Adsense;

WP_Adsense\Helper::the_adsense_code( $code, $size );

Filter hooks

inc2734_wp_adsense_the_adsense_code

/**
 * Customize the adsense code
 *
 * @param string $code
 * @return string
 */
add_filter(
	'inc2734_wp_adsense_the_adsense_code',
	function( $code ) {
		return $code;
	}
);