Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /****
- / removing old posts with wp_trash
- ****/
- require_once '/home/xxx/public_html/wp-load.php';
- add_action( 'init', 'del_posts', 30 );
- function del_posts() {
- echo 'something';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement