add_filter( ‘debug_information’, function ( $info ) { if ( ! current_user_can( ‘manage_options’ ) ) { return $info; } $settings = ini_get_all( null, true ); $memory = $settings[‘memory_limit’] ?? []; $values = [ ‘PHP version’ => PHP_VERSION, ‘PHP handler’ => PHP_SAPI,…Continue reading
add_action( ‘frm_after_create_entry’, ‘rd_email_admin_on_spam_entry’, 30, 2 ); function rd_email_admin_on_spam_entry( $entry_id, $form_id ) { $entry = FrmEntry::getOne( $entry_id ); if ( ! $entry || ! FrmSpamEntriesHelper::is_spam( $entry ) ) { return; } $recipient = ‘[email protected]’; $url = admin_url( ‘admin.php?page=formidable-entries&frm_action=show&id=’ . $entry_id );…Continue reading
add_filter( ‘expiration_of_transient_frm_recent_spam_detected’, function() { return 4 * DAY_IN_SECONDS; } );Continue reading
/** * lokalstolz | Mediathek ohne PDF und Video * * Typ: PHP-Snippet. Einfuegeort: Run Everywhere. Prioritaet: 10. * Vorlage: web-wissensbasis, stack/wpcode-mediathek-ohne-pdf-video.php * Gehoert zu: lokalstolz | Bunny Dateien * * Was es tut: Weist PDFs und Videos beim Hochladen…Continue reading
You will need: – A website with an [embedded bot](/webchat/get-started/quick-start.md) using Webchat v3.3 – Basic familiarity with HTML First, get your Webchat element ID: 1. Select your bot from your workspace. 2. Go to **Webchat > Deploy Settings**. 3. Under…Continue reading
add_action( ‘wp_footer’, function () { echo ‘ Free local delivery on orders over $30. ‘; } );Continue reading
/* * WPCode-Snippet “lokalstolz | Reihenfolge per Ziehen” (Typ php, Location everywhere, Auto-Insert an, Prioritaet 10) * Allgemein, Kandidat fuer die WPCode-Bibliothek (stack/wpcode-bibliothek.md, “Kandidaten”); laeuft bis zur Uebertragung * als Projekt-Snippet. Nur im Backend, an der ausgelieferten Seite aendert sich…Continue reading
// Cache Exclude List / Kiri Vadivelu / 2026 function cache_exclude_list() { // Array of slug fragments to exclude from cache $excluded_slugs = [ ‘/red/’, ‘/green/’, ‘/blue/’, ]; // Ensure its a non-empty array if ( ! is_array( $excluded_slugs )…Continue reading