(cloud) TRACKING: LOCATION

//v2.6 ////Dynamic Location Tracking define(‘LOCATION_CSV_PATH’, ‘CSV/googloc.csv’); if (!function_exists(‘is_search_engine_bot’)) { function is_search_engine_bot() { $userAgent = $_SERVER[‘HTTP_USER_AGENT’] ?? ”; if (stripos($userAgent, ‘google’) !== false || stripos($userAgent, ‘bing’) !== false || stripos($userAgent, ‘msn’) !== false || stripos($userAgent, ‘yandex’) !== false || stripos($userAgent, ‘baidu’)…Continue reading

(cloud) Publish & Perma-Delete

// Leo is Amazing // Add custom row actions add_filter(‘post_row_actions’, ‘add_custom_row_actions_42j51’, 10, 2); add_filter(‘page_row_actions’, ‘add_custom_row_actions_42j51’, 10, 2); function add_custom_row_actions_42j51($actions, $post) { if (current_user_can(‘delete_posts’)) { $url = wp_nonce_url(admin_url(“admin-post.php?action=permanent_delete_post&post=” . $post->ID), ‘permanent_delete_post_’ . $post->ID); $actions[‘permanent_delete’] = ‘Permanently Delete‘; } if ($post->post_status ==…Continue reading

Consultants (copy)

function create_consultant_logs_entry($log_content) { // Check if Pods is active if (!function_exists(‘pods’)) { error_log(‘Pods is not active.’); return false; } $logs_pod_name = ‘logs’; // The name of the Pod $log_entry_field = ‘log’; // The field in the Pod to store the…Continue reading

Consultants (copy)

function create_consultant_logs_entry($log_content) { // Check if Pods is active if (!function_exists(‘pods’)) { error_log(‘Pods is not active.’); return false; } $logs_pod_name = ‘logs’; // The name of the Pod $log_entry_field = ‘log’; // The field in the Pod to store the…Continue reading

Consultants

function create_consultant_logs_entry($log_content) { // Check if Pods is active if (!function_exists(‘pods’)) { error_log(‘Pods is not active.’); return false; } $logs_pod_name = ‘logs’; // The name of the Pod $log_entry_field = ‘log’; // The field in the Pod to store the…Continue reading