Plugin Contributor
Steven Word
(@stevenkword)
WPEngine Employee
Hi dzweb,
This functionality is currently provided by using the appropriate filter on the accepted post types supported.
We are working to add more filters and documentation, but in the meantime, you can add a filter to the ‘amazon_polly_post_types’ hook to filter the supported post types.
An example would look something like this:
function my_supported_polly_post_types( $post_types ) {
$post_types[] = 'my_custom_post_type';
return $post_types; // Array of post types
}
add_filter( 'amazon_polly_post_types', 'my_supported_polly_post_types' );
Thread Starter
dzweb
(@dzweb)
Thanks, Steven! That got it to show on the backend, now I need to get it working on the frontend.
-
This reply was modified 7 years, 9 months ago by
dzweb.