Attract high-quality traffic to your site using Promoted Posts. Using this service, you can advertise a post or page on some of the millions of pages across WordPress.com and Tumblr.
Package is published in Packagist.
Use composer to add the package to your project:
composer add automattic/jetpack-promote-postsThen you can initialize it on the admin_init hook:
add_action( 'admin_init', array( '\Automattic\Jetpack\Promote_Posts', 'configure' ) );Or directly invoke with a method call:
use Automattic\Jetpack\Promote_Posts;
Promote_Posts::configure();jetpack build -p packages/promote-postsjetpack build packages/promote-postsjetpack watch packages/promote-postsNeed to report a security vulnerability? Go to https://automattic.com/security/ or directly to our security bug bounty site https://hackerone.com/automattic.
promote-posts is licensed under GNU General Public License v2 (or later)