<?php echo '<pre>'; echo '<span style="color:blue">DOWNLOADING...</span>'.PHP_EOL; // Download file file_put_contents('wp.zip', file_get_contents('https://wordpress.org/latest.zip')); $zip = new ZipArchive();…
How to replace a string in wordpress in all posts with PHPMyAdmin
mcmurryjulie / Pixabay
Use this SQL Query in phpmyadmin and adapt to your need. This usecase removes all occurences of [:de] in any part of the posts content:
UPDATE UUQf09E_posts SET post_content = REPLACE( post_content, '[:de]', '' ) WHERE post_content LIKE '%[:de]%'
