{"id":3699,"date":"2021-11-11T13:10:24","date_gmt":"2021-11-11T20:10:24","guid":{"rendered":"https:\/\/blocksylaunch.click\/documentation\/?p=3699"},"modified":"2022-07-12T19:55:35","modified_gmt":"2022-07-13T02:55:35","slug":"divi-builder-php-hooks","status":"publish","type":"post","link":"https:\/\/blocksylaunch.click\/documentation\/developers\/divi-builder-php-hooks\/","title":{"rendered":"Divi Builder PHP Hooks"},"content":{"rendered":"<h2 id=\"conditional-display\">Conditional Display<\/h2>\n<h3>et_module_process_display_conditions<\/h3>\n<p>Filters every rendered module output for processing &#8220;Display Conditions&#8221; option group.<\/p>\n<p><strong>Type:<\/strong> Filter<br \/>\n<strong>Since:<\/strong> 4.13.1<\/p>\n<table class=\"responsiveTable\">\n<thead>\n<tr>\n<th><span style=\"font-weight: 400;\">Param<\/span><\/th>\n<th><span style=\"font-weight: 400;\">Type<\/span><\/th>\n<th><span style=\"font-weight: 400;\">Description<\/span><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>$output<\/td>\n<td><code>string<\/code><\/td>\n<td>HTML output of the rendered module.<\/td>\n<\/tr>\n<tr>\n<td>$render_method<\/td>\n<td><code>string<\/code><\/td>\n<td>The render method used to render the module.<\/td>\n<\/tr>\n<tr>\n<td>$this<\/td>\n<td><code>ET_Builder_Element<\/code><\/td>\n<td>The current instance of <code>ET_Builder_Element<\/code>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>et_is_display_conditions_option_visible<\/h3>\n<p>Filters &#8220;Display Conditions&#8221; option visibility to determine whether to add its field to the Visual Builder or not. Useful for displaying\/hiding the option on the Visual Builder.<\/p>\n<p><strong>Type:<\/strong> Filter<br \/>\n<strong>Since:<\/strong> 4.13.1<\/p>\n<table class=\"responsiveTable\">\n<thead>\n<tr>\n<th><span style=\"font-weight: 400;\">Param<\/span><\/th>\n<th><span style=\"font-weight: 400;\">Type<\/span><\/th>\n<th><span style=\"font-weight: 400;\">Description<\/span><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>$default_status<\/td>\n<td><code>boolean<\/code><\/td>\n<td>True to make the option visible on VB, False to make it hidden.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>et_is_display_conditions_functionality_enabled<\/h3>\n<p>Filters &#8220;Display Conditions&#8221; functionality to determine whether to enable or disable the functionality or not. Useful for disabling\/enabling &#8220;Display Condition&#8221; feature site-wide.<\/p>\n<p><strong>Type:<\/strong> Filter<br \/>\n<strong>Since:<\/strong> 4.13.1<\/p>\n<table class=\"responsiveTable\">\n<thead>\n<tr>\n<th><span style=\"font-weight: 400;\">Param<\/span><\/th>\n<th><span style=\"font-weight: 400;\">Type<\/span><\/th>\n<th><span style=\"font-weight: 400;\">Description<\/span><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>$default_status<\/td>\n<td><code>boolean<\/code><\/td>\n<td>True to enable the functionality, False to disable it.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Learn about the PHP hooks that are available in Divi Builder features.<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,25],"tags":[],"class_list":["post-3699","post","type-post","status-publish","format-standard","hentry","category-developers","category-hooks"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Elegant Themes Documentation<\/title>\n<meta name=\"description\" content=\"Learn about the PHP hooks that are available in Divi Builder features.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blocksylaunch.click\/documentation\/developers\/divi-builder-php-hooks\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Divi Builder PHP Hooks - Elegant Themes Documentation\" \/>\n<meta property=\"og:description\" content=\"Learn about the PHP hooks that are available in Divi Builder features.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blocksylaunch.click\/documentation\/developers\/divi-builder-php-hooks\/\" \/>\n<meta property=\"og:site_name\" content=\"Elegant Themes Documentation\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-11T20:10:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-13T02:55:35+00:00\" \/>\n<meta name=\"author\" content=\"Ayub Adiputra\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ayub Adiputra\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/developers\\\/divi-builder-php-hooks\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/developers\\\/divi-builder-php-hooks\\\/\"},\"author\":{\"name\":\"Ayub Adiputra\",\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/#\\\/schema\\\/person\\\/507067c0208423af93c1e3e1bc9edf30\"},\"headline\":\"Divi Builder PHP Hooks\",\"datePublished\":\"2021-11-11T20:10:24+00:00\",\"dateModified\":\"2022-07-13T02:55:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/developers\\\/divi-builder-php-hooks\\\/\"},\"wordCount\":151,\"articleSection\":[\"Developer Documentation\",\"Hooks\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/developers\\\/divi-builder-php-hooks\\\/\",\"url\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/developers\\\/divi-builder-php-hooks\\\/\",\"name\":\"Divi Builder PHP Hooks - Elegant Themes Documentation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/#website\"},\"datePublished\":\"2021-11-11T20:10:24+00:00\",\"dateModified\":\"2022-07-13T02:55:35+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/#\\\/schema\\\/person\\\/507067c0208423af93c1e3e1bc9edf30\"},\"description\":\"Learn about the PHP hooks that are available in Divi Builder features.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/developers\\\/divi-builder-php-hooks\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/developers\\\/divi-builder-php-hooks\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/developers\\\/divi-builder-php-hooks\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Divi Builder PHP Hooks\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/#website\",\"url\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/\",\"name\":\"Elegant Themes Documentation\",\"description\":\"Just another WordPress site\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.elegantthemes.com\\\/documentation\\\/#\\\/schema\\\/person\\\/507067c0208423af93c1e3e1bc9edf30\",\"name\":\"Ayub Adiputra\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3862834169b38221ac7b75f03b42f6ac59e950b593f10bd79a0dc44e15c2b29f?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3862834169b38221ac7b75f03b42f6ac59e950b593f10bd79a0dc44e15c2b29f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3862834169b38221ac7b75f03b42f6ac59e950b593f10bd79a0dc44e15c2b29f?s=96&d=mm&r=g\",\"caption\":\"Ayub Adiputra\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Elegant Themes Documentation","description":"Learn about the PHP hooks that are available in Divi Builder features.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blocksylaunch.click\/documentation\/developers\/divi-builder-php-hooks\/","og_locale":"en_US","og_type":"article","og_title":"Divi Builder PHP Hooks - Elegant Themes Documentation","og_description":"Learn about the PHP hooks that are available in Divi Builder features.","og_url":"https:\/\/blocksylaunch.click\/documentation\/developers\/divi-builder-php-hooks\/","og_site_name":"Elegant Themes Documentation","article_published_time":"2021-11-11T20:10:24+00:00","article_modified_time":"2022-07-13T02:55:35+00:00","author":"Ayub Adiputra","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ayub Adiputra","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blocksylaunch.click\/documentation\/developers\/divi-builder-php-hooks\/#article","isPartOf":{"@id":"https:\/\/blocksylaunch.click\/documentation\/developers\/divi-builder-php-hooks\/"},"author":{"name":"Ayub Adiputra","@id":"https:\/\/blocksylaunch.click\/documentation\/#\/schema\/person\/507067c0208423af93c1e3e1bc9edf30"},"headline":"Divi Builder PHP Hooks","datePublished":"2021-11-11T20:10:24+00:00","dateModified":"2022-07-13T02:55:35+00:00","mainEntityOfPage":{"@id":"https:\/\/blocksylaunch.click\/documentation\/developers\/divi-builder-php-hooks\/"},"wordCount":151,"articleSection":["Developer Documentation","Hooks"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/blocksylaunch.click\/documentation\/developers\/divi-builder-php-hooks\/","url":"https:\/\/blocksylaunch.click\/documentation\/developers\/divi-builder-php-hooks\/","name":"Divi Builder PHP Hooks - Elegant Themes Documentation","isPartOf":{"@id":"https:\/\/blocksylaunch.click\/documentation\/#website"},"datePublished":"2021-11-11T20:10:24+00:00","dateModified":"2022-07-13T02:55:35+00:00","author":{"@id":"https:\/\/blocksylaunch.click\/documentation\/#\/schema\/person\/507067c0208423af93c1e3e1bc9edf30"},"description":"Learn about the PHP hooks that are available in Divi Builder features.","breadcrumb":{"@id":"https:\/\/blocksylaunch.click\/documentation\/developers\/divi-builder-php-hooks\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blocksylaunch.click\/documentation\/developers\/divi-builder-php-hooks\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blocksylaunch.click\/documentation\/developers\/divi-builder-php-hooks\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blocksylaunch.click\/documentation\/"},{"@type":"ListItem","position":2,"name":"Divi Builder PHP Hooks"}]},{"@type":"WebSite","@id":"https:\/\/blocksylaunch.click\/documentation\/#website","url":"https:\/\/blocksylaunch.click\/documentation\/","name":"Elegant Themes Documentation","description":"Just another WordPress site","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blocksylaunch.click\/documentation\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blocksylaunch.click\/documentation\/#\/schema\/person\/507067c0208423af93c1e3e1bc9edf30","name":"Ayub Adiputra","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3862834169b38221ac7b75f03b42f6ac59e950b593f10bd79a0dc44e15c2b29f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3862834169b38221ac7b75f03b42f6ac59e950b593f10bd79a0dc44e15c2b29f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3862834169b38221ac7b75f03b42f6ac59e950b593f10bd79a0dc44e15c2b29f?s=96&d=mm&r=g","caption":"Ayub Adiputra"}}]}},"_links":{"self":[{"href":"https:\/\/blocksylaunch.click\/documentation\/wp-json\/wp\/v2\/posts\/3699","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blocksylaunch.click\/documentation\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blocksylaunch.click\/documentation\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blocksylaunch.click\/documentation\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/blocksylaunch.click\/documentation\/wp-json\/wp\/v2\/comments?post=3699"}],"version-history":[{"count":8,"href":"https:\/\/blocksylaunch.click\/documentation\/wp-json\/wp\/v2\/posts\/3699\/revisions"}],"predecessor-version":[{"id":10119,"href":"https:\/\/blocksylaunch.click\/documentation\/wp-json\/wp\/v2\/posts\/3699\/revisions\/10119"}],"wp:attachment":[{"href":"https:\/\/blocksylaunch.click\/documentation\/wp-json\/wp\/v2\/media?parent=3699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blocksylaunch.click\/documentation\/wp-json\/wp\/v2\/categories?post=3699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blocksylaunch.click\/documentation\/wp-json\/wp\/v2\/tags?post=3699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}