The Sesamy plugin adds paywall functionality for posts and custom post types using Sesamy to your WordPress website without having to write code to integrate yourself.
Features:
Please note that using this plugin requires an account with Sesamy (sesamy.com).
The following filters can be used to modify the default output from the plugin:
add_filter( 'sesamy_content', 'my_sesamy_content', 10, 2);
function my_sesamy_content( $post, $content ) {
return $content;
}
add_filter( 'sesamy_content_container', 'my_sesamy_content_container', 10, 1);
function ( $content_container ){
return $content_container;
}
add_filter( 'sesamy_paywall_seo', 'my_paywall_seo_callback', 10, 2);
function my_paywall_seo_callback( $default_seo, $post ) {
return $default_seo;
}
// The preview in the paywall
add_filter( 'sesamy_paywall_preview', 'my_sesamy_paywall_preview', 10, 1);
function my_sesamy_paywall_preview( $default_preview ) {
return $default_preview;
}