Skip to content

Instantly share code, notes, and snippets.

Working from home

guillermo gtamborero

Working from home
View GitHub Profile
gtamborero / export-acf-user-fields.php
Created Feb 22, 2022
ACF Custom Data Export (Advanced Custom Fields - WordPress)
View export-acf-user-fields.php
* The plugin bootstrap file
* @link
* @since 1.0.0
* @package Export ACF fields to Excel
* @wordpress-plugin
gtamborero / backend-change-notifications.php
Last active Feb 22, 2022
ACF Backend Notifications on Change (WordPress) - When a user makes changes from the Back End, we create a: post notification or something else
View backend-change-notifications.php
// What is interesting about this plugin is that it does a deep compare between the post and the updated post
// and get the changes inside ACF,
// so you will know if an admin or someone has changed an image, a field, a repeater, etc. and send a mail, a post, or whatever
// Create inside /plugins/ a folder named /backend-change-notifications
// Paste inside /backend-change-notifications this backend-change-notifications.php file
View test-button.php
function toggleVideoToUser( videoId, tipo, element ){
isChecked = element.classList.contains('checked');