I hereby claim:
- I am villesiltala on github.
- I am villesiltala (https://keybase.io/villesiltala) on keybase.
- I have a public key ASCBWhG9oDy7ifcbDr_eB15JEL7DJ8xmRqmIrNNsAFpoOwo
To claim this, I am signing this object:
<?php | |
/** | |
* This script obfuscates WordPress user data for defined user roles. | |
*/ | |
global $wpdb; | |
// This example obfuscates all user data for WooCommerce customers. | |
$roles = [ | |
'customer', |
<?php | |
/** | |
* Get a post object by its post name (slug). | |
* | |
* @param string $slug The post name value. | |
* @param string $post_type The post type to fetch from. Default: 'post'. | |
* | |
* @return \WP_Post|bool The post object if found, false if not. | |
*/ |
I hereby claim:
To claim this, I am signing this object:
---- page.php --- | |
<?php | |
/** | |
* This is a demo for using the WP Redis Group Cache. | |
*/ | |
/** | |
* A demo DustPress model class. | |
*/ | |
class Page extends \DustPress\Model { |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Client-side i18n</title> | |
</head> | |
<body> | |
<div class="container"> | |
<header> | |
<ul id="i18n-menu"> |