Page Manager 188 Old Version File

// add to page_manager/admin.php or functions.php function duplicate_page($page_id) { global $db;

if (!$page) return false;

// Usage: call when "duplicate" action is triggered if (isset($_GET['duplicate']) && is_numeric($_GET['duplicate'])) { duplicate_page($_GET['duplicate']); header("Location: page_manager.php?msg=duplicated"); exit; } page manager 188 old version

And add a in the page list table:

$insert = "INSERT INTO pages (title, slug, content, status, created_at) VALUES ( '" . mysqli_real_escape_string($db, $new_title) . "', '" . mysqli_real_escape_string($db, $new_slug) . "', '" . mysqli_real_escape_string($db, $page['content']) . "', 'draft', NOW() )"; // add to page_manager/admin

return mysqli_query($db, $insert); }

// Prepare duplicate data $new_title = $page['title'] . " (Copy)"; $new_slug = $page['slug'] . "-copy"; if (!$page) return false

About Patrick Ryan

page manager 188 old version
Patrick is a Forex enthusiast, with over 10 years of experience in finance, and market analysis. He's eager to help traders achieve their goals, whether they are short or long-term. Patrick's penned thousands of reviews, and is always available to discuss trading with anyone who's interested.

2 comments

  1. page manager 188 old version

    Is this ATS? I never signed up for recurring payments and wish for it to stop. I didn’t want to sign another month so. I want a refund. Please call me at 678 933 6437

Leave a Reply

Your email address will not be published. Required fields are marked *

Sending

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Download My Free Robot

page manager 188 old version

Get your Robot Now!






page manager 188 old version
page manager 188 old version

Free Robot!