PHP code example of wpscholar / wp-post-expiration
1. Go to this page and download the library: Download wpscholar/wp-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/ */
wpscholar / wp-post-expiration example snippets
add_action( 'init', 'wpscholar_post_expiration_initialize', 1000 );
add_post_type_support( 'post', 'expiration' );