This document lists all the situations where WordPress sends an email, along with how to filter or disable each email.
This is accurate as of WordPress 4.9.
There are a few TODOs left. Please bear with me.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>Photos with Friends!</title> | |
<script src="http://code.jquery.com/jquery-1.9.0.min.js"></script> | |
<script> | |
/** | |
* This is the getPhoto library | |
*/ |
<!-- Facebook Custom Audience Pixel Code - Placed on Every Page of Site --> | |
<script> | |
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? | |
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; | |
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; | |
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, | |
document,'script','//connect.facebook.net/en_US/fbevents.js'); | |
fbq('init', '{{facebook pixel}}'); | |
fbq('track', 'PageView'); | |
</script> |
This document lists all the situations where WordPress sends an email, along with how to filter or disable each email.
This is accurate as of WordPress 4.9.
There are a few TODOs left. Please bear with me.
// Source: https://blog.templatetoaster.com/update-old-urls-in-database/ | |
// How to Change/Update links with MySQL | |
update TABLE_NAME set FIELD_NAME = replace(FIELD_NAME, ‘find string’, ‘replace string’); | |
// For replacing the URL across all database tables, Click on SQL tab and in the panel type the below code: | |
UPDATE wp_options SET option_value = replace(option_value, 'Existing URL', 'New URL') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
UPDATE wp_posts SET post_content = replace(post_content, 'Existing URL', 'New URL'); |
#!/bin/bash | |
# This will remove Apache | |
sudo service apache2 stop | |
sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common | |
sudo apt remove apache2.* | |
sudo apt-get autoremove | |
whereis apache2 | |
sudo rm -rf /etc/apache2 |
<?php | |
/* | |
* Plugin Name: LearnPress to WP Rest API | |
* Plugin URI: https://www.webapp.bg/wp-extensions/learnpress-rest-api | |
* Description: A plugin to add endpoints for LearnPress to WP REST API | |
* Version: 1.0 | |
* Author: Marin Stoyanov | |
* Author URI: https://www.webapp.bg/ | |
* License: GPL2 | |
*/ |
<?php | |
/** | |
* Plugin Name: Academy Partners Module | |
* Description: A custom WordPress plugin to manage partner profiles with custom post types, taxonomies, and meta boxes. | |
* Version: 1.0 | |
* Requires at least: 5.0 | |
* Requires PHP: 8.0 | |
* Author: Marin Stoyanov | |
*/ |
sudo mysql -u root -p | |
CREATE DATABASE database_name DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; | |
GRANT ALL ON database_name.* TO 'database_user'@'localhost' IDENTIFIED BY 'user_password'; | |
FLUSH PRIVILEGES; | |
EXIT; |