{"id":62823,"date":"2024-02-13T10:42:09","date_gmt":"2024-02-13T15:42:09","guid":{"rendered":"https:\/\/memberpress.com\/docs\/wpcode-conditional-logic-for-memberpress\/"},"modified":"2024-02-13T17:17:05","modified_gmt":"2024-02-13T22:17:05","slug":"wpcode-conditional-logic-for-memberpress","status":"publish","type":"ht_kb","link":"https:\/\/memberpress.com\/de\/docs\/wpcode-conditional-logic-for-memberpress\/","title":{"rendered":"WPCode Bedingte Logikregeln f\u00fcr MemberPress"},"content":{"rendered":"<p>Das WPCode Pro Plugin kommt mit einer MemberPress-Integration, die es Ihnen erm\u00f6glicht:<\/p>\n<ul>\n<li><a href=\"https:\/\/memberpress.com\/de\/docs\/how-to-add-custom-code-snippets-in-wpcode\/\">Benutzerdefinierte Codeschnipsel hinzuf\u00fcgen<\/a> <\/li>\n<li>Legen Sie eine bedingte Logik f\u00fcr die Ausf\u00fchrung dieser Codeschnipsel auf der Grundlage Ihrer Mitgliedschaft fest\u00a0<\/li>\n<\/ul>\n<p>Dieses Dokument zeigt Ihnen, wie Sie vorgehen:<\/p>\n<ul>\n<li>Legen Sie eine bedingte Logik f\u00fcr Ihre Codeschnipsel fest, die auf Ihren MemberPress-Mitgliedschaften basiert<\/li>\n<li>Wie man die Code-Schnipsel nur auf bestimmten MemberPress-Seiten ausf\u00fchrt<\/li>\n<\/ul>\n<h2>MemberPress Bedingte Logikregeln<\/h2>\n<p>Bedingte Logik ist f\u00fcr alle Code-Snippets verf\u00fcgbar, die \u00fcber das WPCode Snippets-Plugin hinzugef\u00fcgt werden.\u00a0<\/p>\n<p>Sie k\u00f6nnen:<\/p>\n<ul>\n<li>Legen Sie fest, ob jedes Codeschnipsel ein- oder ausgeblendet werden soll, wenn eine Bedingungsregel erf\u00fcllt ist\u00a0<\/li>\n<li>Bedingungsregeln auf der Grundlage von Seiten festlegen<\/li>\n<li>Festlegen von Bedingungsregeln basierend darauf, ob Benutzer angemeldet sind<\/li>\n<li>W\u00e4hlen Sie, ob die Bedingung erf\u00fcllt oder nicht erf\u00fcllt ist.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-IvmNyuqiPD-1.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-IvmNyuqiPD-1.png\" style=\"width: 100%; max-width: 100%; \"><\/a><\/p>\n<p>Mit WPCode Pro wird diese Liste auf zwei MemberPress-Bedingungen erweitert:<\/p>\n<ul>\n<li><b>MemberPress Seite<\/b><\/li>\n<li><b>Aktive Mitgliedschaft des Benutzers<\/b><\/li>\n<\/ul>\n<p>Mit der ersten Bedingung k\u00f6nnen Sie festlegen, dass ein Codeschnipsel nur auf ausgew\u00e4hlten MemberPress-Seiten ausgef\u00fchrt wird. Sie k\u00f6nnen die folgenden Seiten ausw\u00e4hlen:<\/p>\n<ul>\n<li>Anmeldung Seite<\/li>\n<li>Dankeseite<\/li>\n<li>Konto Seite<\/li>\n<li>Login-Seite<\/li>\n<\/ul>\n<p><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-qXLs1pWwbI-1.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-qXLs1pWwbI-1.png\" style=\"width: 100%; max-width: 100%; \"><\/a><\/p>\n<p>Mit der zweiten MemberPress-Bedingung k\u00f6nnen Sie das Code-Snippet ausf\u00fchren, je nachdem, ob ein Benutzer ein aktives Abonnement f\u00fcr eine bestimmte Mitgliedschaft hat (oder nicht hat).<\/p>\n<h2>Festlegen von Bedingungen f\u00fcr Code Snippets<\/h2>\n<p>Um Bedingungen f\u00fcr Ihre Code-Snippets mit MemberPress-Bedingungen festzulegen, gehen Sie bitte wie folgt vor:<\/p>\n<ol>\n<li>Navigieren Sie zu Dashboard &gt; Code-Schnipsel &gt; Code-Schnipsel, um Ihren vorhandenen Code-Schnipsel auszuw\u00e4hlen, oder klicken Sie auf die Schaltfl\u00e4che \u201cSchnipsel hinzuf\u00fcgen\u201d, um einen neuen Schnipsel hinzuzuf\u00fcgen.<\/li>\n<li>Bl\u00e4ttern Sie nach unten zum Abschnitt Intelligente bedingte Logik und aktivieren Sie die Option \"Logik aktivieren\".<\/li>\n<\/ol>\n<p><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-UICgIfsHt7-1.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-UICgIfsHt7-1.png\" style=\"width: 100%; max-width: 100%; \"><\/a><\/p>\n<ol start=\"3\">\n<li>W\u00e4hlen Sie die Option \"Anzeigen\" oder \"Ausblenden\" in der ersten Dropdown-Liste Ihrer Bedingung und klicken Sie auf die Schaltfl\u00e4che \"+Neue Gruppe hinzuf\u00fcgen\".<\/li>\n<\/ol>\n<p><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-qTOhhPQ3nW-1.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-qTOhhPQ3nW-1.png\" style=\"width: 100%; max-width: 100%; \"><\/a><\/p>\n<ol start=\"4\">\n<li>W\u00e4hlen Sie die gew\u00fcnschten Bedingungen aus, setzen Sie den Operator IS oder IS NOT und legen Sie den gew\u00fcnschten Wert fest. Zur Veranschaulichung: Der folgende Code wird nur ausgef\u00fchrt, wenn ein Benutzer kein aktives Abonnement f\u00fcr die Mitgliedschaft \"MemberPress Yearly\" hat:<\/li>\n<\/ol>\n<p><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-0ZLg8mCkGm-1.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-0ZLg8mCkGm-1.png\" style=\"width: 100%; max-width: 100%; \"><\/a><\/p>\n<ol start=\"5\">\n<li>Sie k\u00f6nnen weitere Bedingungen hinzuf\u00fcgen, indem Sie auf die Schaltfl\u00e4che \"AND\" klicken, und weitere Bedingungskombinationen (Gruppen), indem Sie erneut auf die Schaltfl\u00e4che \"+Add new group\" klicken<\/li>\n<li>Klicken Sie auf \"Snippet speichern\", um die vorgenommenen \u00c4nderungen zu \u00fcbernehmen.<\/li>\n<\/ol>\n<p><\/p>\n<p>Sie k\u00f6nnen eine oder mehrere Mitgliedschaften f\u00fcr Ihre bedingten Regeln festlegen und sie mit Seitenbedingungen und verf\u00fcgbaren WPCode-Positionen kombinieren.<\/p>\n<p>Sie k\u00f6nnen zum Beispiel festlegen, dass ein Code-Snippet nur auf Ihren Registrierungsseiten, vor dem Registrierungsformular und nur f\u00fcr Benutzer, die bereits eine bestimmte Mitgliedschaft abgeschlossen haben, ausgef\u00fchrt wird.<\/p>\n<h2>Hilfe?<\/h2>\n<p>Funktioniert das Programm nicht so, wie es Ihrer Meinung nach sollte, obwohl Sie die Anweisungen befolgt haben? Schicken Sie uns einfach eine <a href=\"https:\/\/memberpress.com\/de\/support\/\">Support-Ticket<\/a>!<\/p>","protected":false},"excerpt":{"rendered":"<p>The WPCode Pro plugin comes with a MemberPress integration that allows you to: Add custom code snippets Set conditional logic for running these code snippets based on your membership\u00a0 This document will show you how to: Set conditional logic for your code snippets based on your MemberPress memberships How to run the code snippets only [\u2026]<\/p>\n","protected":false},"author":62252,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"_strive_editorial_status":"not-started","_strive_copy_of":0,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","_FSMCFIC_featured_image_caption":"","_FSMCFIC_featured_image_nocaption":"","_FSMCFIC_featured_image_hide":"","_strive_checklists":"\"\"","_strive_active_checklist":"62291e2bb2422","footnotes":""},"ht-kb-category":[1354],"ht-kb-tag":[],"class_list":{"0":"post-62823","1":"ht_kb","2":"type-ht_kb","3":"status-publish","4":"format-standard","6":"ht_kb_category-using-custom-codes","7":"entry","8":"has-post-thumbnail"},"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 4.9.5.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"The WPCode Pro plugin comes with a MemberPress integration that allows you to: Add custom code snippets Set conditional logic for running these code snippets based on your membership This document will show you how to: Set conditional logic for your code snippets based on your MemberPress memberships How to run the code snippets only\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Nikola M\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/memberpress.com\/de\/docs\/wpcode-conditional-logic-for-memberpress\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 4.9.5.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"de_DE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"MemberPress\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"WPCode Conditional Logic Rules For MemberPress | MemberPress\" \/>\n\t\t<meta property=\"og:description\" content=\"The WPCode Pro plugin comes with a MemberPress integration that allows you to: Add custom code snippets Set conditional logic for running these code snippets based on your membership This document will show you how to: Set conditional logic for your code snippets based on your MemberPress memberships How to run the code snippets only\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/memberpress.com\/de\/docs\/wpcode-conditional-logic-for-memberpress\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1650\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1275\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-02-13T15:42:09+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-02-13T22:17:05+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/memberpress\/\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@memberpress\" \/>\n\t\t<meta name=\"twitter:title\" content=\"WPCode Conditional Logic Rules For MemberPress | MemberPress\" \/>\n\t\t<meta name=\"twitter:description\" content=\"The WPCode Pro plugin comes with a MemberPress integration that allows you to: Add custom code snippets Set conditional logic for running these code snippets based on your membership This document will show you how to: Set conditional logic for your code snippets based on your MemberPress memberships How to run the code snippets only\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/wpcode-conditional-logic-for-memberpress\\\/#article\",\"name\":\"WPCode Conditional Logic Rules For MemberPress | MemberPress\",\"headline\":\"WPCode Conditional Logic Rules For MemberPress\",\"author\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/file-IvmNyuqiPD-1.png\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/wpcode-conditional-logic-for-memberpress\\\/#articleImage\",\"width\":1901,\"height\":974},\"datePublished\":\"2024-02-13T10:42:09-05:00\",\"dateModified\":\"2024-02-13T17:17:05-05:00\",\"inLanguage\":\"de-DE\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/wpcode-conditional-logic-for-memberpress\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/wpcode-conditional-logic-for-memberpress\\\/#webpage\"},\"articleSection\":\"Using Custom Codes\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/wpcode-conditional-logic-for-memberpress\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/memberpress.com\\\/de\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/advanced-topics\\\/#listItem\",\"name\":\"Advanced Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/advanced-topics\\\/#listItem\",\"position\":2,\"name\":\"Advanced Topics\",\"item\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/advanced-topics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/using-custom-codes\\\/#listItem\",\"name\":\"Using Custom Codes\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/using-custom-codes\\\/#listItem\",\"position\":3,\"name\":\"Using Custom Codes\",\"item\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/using-custom-codes\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/wpcode-conditional-logic-for-memberpress\\\/#listItem\",\"name\":\"WPCode Conditional Logic Rules For MemberPress\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/advanced-topics\\\/#listItem\",\"name\":\"Advanced Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/wpcode-conditional-logic-for-memberpress\\\/#listItem\",\"position\":4,\"name\":\"WPCode Conditional Logic Rules For MemberPress\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/using-custom-codes\\\/#listItem\",\"name\":\"Using Custom Codes\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/#organization\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"url\":\"https:\\\/\\\/memberpress.com\\\/de\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/mp-icon-RGB_Icon-01.jpg\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/wpcode-conditional-logic-for-memberpress\\\/#organizationLogo\",\"width\":1650,\"height\":1275,\"caption\":\"memberpress logo icon\"},\"image\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/wpcode-conditional-logic-for-memberpress\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.instagram.com\\\/memberpress\\\/\",\"https:\\\/\\\/www.pinterest.com\\\/memberpressplugin\\\/\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/MemberPressPlugin\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/memberpress\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\",\"url\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/author\\\/nikolacaseproof-com\\\/\",\"name\":\"Nikola M\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/litespeed\\\/avatar\\\/1edf820c48f9c430f380efe81887b154.jpg?ver=1776350726\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/wpcode-conditional-logic-for-memberpress\\\/#webpage\",\"url\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/wpcode-conditional-logic-for-memberpress\\\/\",\"name\":\"WPCode Conditional Logic Rules For MemberPress | MemberPress\",\"description\":\"The WPCode Pro plugin comes with a MemberPress integration that allows you to: Add custom code snippets Set conditional logic for running these code snippets based on your membership This document will show you how to: Set conditional logic for your code snippets based on your MemberPress memberships How to run the code snippets only\",\"inLanguage\":\"de-DE\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/wpcode-conditional-logic-for-memberpress\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\"},\"datePublished\":\"2024-02-13T10:42:09-05:00\",\"dateModified\":\"2024-02-13T17:17:05-05:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/#website\",\"url\":\"https:\\\/\\\/memberpress.com\\\/de\\\/\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"inLanguage\":\"de-DE\",\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>WPCode Conditional Logic Rules For MemberPress | MemberPress<\/title>\n\n","aioseo_head_json":{"title":"WPCode Bedingte Logikregeln f\u00fcr MemberPress | MemberPress","description":"Das WPCode Pro Plugin kommt mit einer MemberPress-Integration, die es Ihnen erm\u00f6glicht: Hinzuf\u00fcgen von benutzerdefinierten Code-Snippets Einstellen einer bedingten Logik f\u00fcr die Ausf\u00fchrung dieser Code-Snippets basierend auf Ihrer Mitgliedschaft Dieses Dokument zeigt Ihnen, wie Sie vorgehen: Bedingte Logik f\u00fcr Ihre Code-Snippets basierend auf Ihren MemberPress-Mitgliedschaften einstellen Wie Sie die Code-Snippets nur ausf\u00fchren","canonical_url":"https:\/\/memberpress.com\/de\/docs\/wpcode-conditional-logic-for-memberpress\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/memberpress.com\/de\/docs\/wpcode-conditional-logic-for-memberpress\/#article","name":"WPCode Conditional Logic Rules For MemberPress | MemberPress","headline":"WPCode Conditional Logic Rules For MemberPress","author":{"@id":"https:\/\/memberpress.com\/de\/blog\/author\/nikolacaseproof-com\/#author"},"publisher":{"@id":"https:\/\/memberpress.com\/de\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-IvmNyuqiPD-1.png","@id":"https:\/\/memberpress.com\/de\/docs\/wpcode-conditional-logic-for-memberpress\/#articleImage","width":1901,"height":974},"datePublished":"2024-02-13T10:42:09-05:00","dateModified":"2024-02-13T17:17:05-05:00","inLanguage":"de-DE","mainEntityOfPage":{"@id":"https:\/\/memberpress.com\/de\/docs\/wpcode-conditional-logic-for-memberpress\/#webpage"},"isPartOf":{"@id":"https:\/\/memberpress.com\/de\/docs\/wpcode-conditional-logic-for-memberpress\/#webpage"},"articleSection":"Using Custom Codes"},{"@type":"BreadcrumbList","@id":"https:\/\/memberpress.com\/de\/docs\/wpcode-conditional-logic-for-memberpress\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de#listItem","position":1,"name":"Home","item":"https:\/\/memberpress.com\/de","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/doc-categories\/advanced-topics\/#listItem","name":"Advanced Topics"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/doc-categories\/advanced-topics\/#listItem","position":2,"name":"Advanced Topics","item":"https:\/\/memberpress.com\/de\/doc-categories\/advanced-topics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/doc-categories\/using-custom-codes\/#listItem","name":"Using Custom Codes"},"previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/doc-categories\/using-custom-codes\/#listItem","position":3,"name":"Using Custom Codes","item":"https:\/\/memberpress.com\/de\/doc-categories\/using-custom-codes\/","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/docs\/wpcode-conditional-logic-for-memberpress\/#listItem","name":"WPCode Conditional Logic Rules For MemberPress"},"previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/doc-categories\/advanced-topics\/#listItem","name":"Advanced Topics"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/docs\/wpcode-conditional-logic-for-memberpress\/#listItem","position":4,"name":"WPCode Conditional Logic Rules For MemberPress","previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/doc-categories\/using-custom-codes\/#listItem","name":"Using Custom Codes"}}]},{"@type":"Organization","@id":"https:\/\/memberpress.com\/de\/#organization","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","url":"https:\/\/memberpress.com\/de\/","logo":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","@id":"https:\/\/memberpress.com\/de\/docs\/wpcode-conditional-logic-for-memberpress\/#organizationLogo","width":1650,"height":1275,"caption":"memberpress logo icon"},"image":{"@id":"https:\/\/memberpress.com\/de\/docs\/wpcode-conditional-logic-for-memberpress\/#organizationLogo"},"sameAs":["https:\/\/www.instagram.com\/memberpress\/","https:\/\/www.pinterest.com\/memberpressplugin\/","https:\/\/www.youtube.com\/c\/MemberPressPlugin","https:\/\/www.linkedin.com\/company\/memberpress\/"]},{"@type":"Person","@id":"https:\/\/memberpress.com\/de\/blog\/author\/nikolacaseproof-com\/#author","url":"https:\/\/memberpress.com\/de\/blog\/author\/nikolacaseproof-com\/","name":"Nikola M","image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/litespeed\/avatar\/1edf820c48f9c430f380efe81887b154.jpg?ver=1776350726"}},{"@type":"WebPage","@id":"https:\/\/memberpress.com\/de\/docs\/wpcode-conditional-logic-for-memberpress\/#webpage","url":"https:\/\/memberpress.com\/de\/docs\/wpcode-conditional-logic-for-memberpress\/","name":"WPCode Conditional Logic Rules For MemberPress | MemberPress","description":"The WPCode Pro plugin comes with a MemberPress integration that allows you to: Add custom code snippets Set conditional logic for running these code snippets based on your membership This document will show you how to: Set conditional logic for your code snippets based on your MemberPress memberships How to run the code snippets only","inLanguage":"de-DE","isPartOf":{"@id":"https:\/\/memberpress.com\/de\/#website"},"breadcrumb":{"@id":"https:\/\/memberpress.com\/de\/docs\/wpcode-conditional-logic-for-memberpress\/#breadcrumblist"},"author":{"@id":"https:\/\/memberpress.com\/de\/blog\/author\/nikolacaseproof-com\/#author"},"creator":{"@id":"https:\/\/memberpress.com\/de\/blog\/author\/nikolacaseproof-com\/#author"},"datePublished":"2024-02-13T10:42:09-05:00","dateModified":"2024-02-13T17:17:05-05:00"},{"@type":"WebSite","@id":"https:\/\/memberpress.com\/de\/#website","url":"https:\/\/memberpress.com\/de\/","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","inLanguage":"de-DE","publisher":{"@id":"https:\/\/memberpress.com\/de\/#organization"}}]},"og:locale":"de_DE","og:site_name":"MemberPress","og:type":"article","og:title":"WPCode Conditional Logic Rules For MemberPress | MemberPress","og:description":"The WPCode Pro plugin comes with a MemberPress integration that allows you to: Add custom code snippets Set conditional logic for running these code snippets based on your membership This document will show you how to: Set conditional logic for your code snippets based on your MemberPress memberships How to run the code snippets only","og:url":"https:\/\/memberpress.com\/de\/docs\/wpcode-conditional-logic-for-memberpress\/","og:image":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","og:image:secure_url":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","og:image:width":1650,"og:image:height":1275,"article:published_time":"2024-02-13T15:42:09+00:00","article:modified_time":"2024-02-13T22:17:05+00:00","article:publisher":"https:\/\/www.facebook.com\/memberpress\/","twitter:card":"summary_large_image","twitter:site":"@memberpress","twitter:title":"WPCode Conditional Logic Rules For MemberPress | MemberPress","twitter:description":"The WPCode Pro plugin comes with a MemberPress integration that allows you to: Add custom code snippets Set conditional logic for running these code snippets based on your membership This document will show you how to: Set conditional logic for your code snippets based on your MemberPress memberships How to run the code snippets only","twitter:image":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg"},"aioseo_meta_data":{"post_id":"62823","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2025-10-09 22:10:20","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"open_ai":null,"ai":null,"created":"2024-02-13 15:42:09","updated":"2026-03-03 14:52:31"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/de\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/de\/doc-categories\/advanced-topics\/\" title=\"Advanced Topics\">Advanced Topics<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/de\/doc-categories\/using-custom-codes\/\" title=\"Using Custom Codes\">Using Custom Codes<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\tWPCode Conditional Logic Rules For MemberPress\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/memberpress.com\/de"},{"label":"Advanced Topics","link":"https:\/\/memberpress.com\/de\/doc-categories\/advanced-topics\/"},{"label":"Using Custom Codes","link":"https:\/\/memberpress.com\/de\/doc-categories\/using-custom-codes\/"},{"label":"WPCode Conditional Logic Rules For MemberPress","link":"https:\/\/memberpress.com\/de\/docs\/wpcode-conditional-logic-for-memberpress\/"}],"_links":{"self":[{"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/ht-kb\/62823","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/users\/62252"}],"replies":[{"embeddable":true,"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/comments?post=62823"}],"version-history":[{"count":0,"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/ht-kb\/62823\/revisions"}],"wp:attachment":[{"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/media?parent=62823"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/ht-kb-category?post=62823"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/ht-kb-tag?post=62823"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}