PHP code example of voceconnect / voce-post-expiration
1. Go to this page and download the library: Download voceconnect/voce-post-expiration 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/ */
voceconnect / voce-post-expiration example snippets
if( ! class_exists( 'Voce_Post_Expiration' ) ) {
add_post_type_support( 'post', 'post-expiration' );