PHP Runtime Diagnostic

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

Enable Admin Email after Formidable Forms Entry Saved as Spam

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

Discover Games That Make You Think

Every math game offers a different challenge. Some test your speed, while others require patience, creativity, and strategic thinking. Explore different game styles and find out which ones bring out your best skills. 1. Number Puzzles That Challenge Your Logic…Continue reading

lokalstolz | Mediathek ohne PDF und Video

/** * 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

Untitled Snippet

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

lokalstolz | Reihenfolge per Ziehen

/* * 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

// 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