Created
May 21, 2018 12:55
-
-
Save lots0logs/1cb7501a2ee79103ce1075f468b88795 to your computer and use it in GitHub Desktop.
Divi Builder :: Filters :: Module HTML Attributes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Filters the HTML attributes for the module's outer wrapper. The dynamic portion of the | |
* filter name, '$slug', corresponds to the module's slug. | |
* | |
* @since 3.1 | |
* | |
* @param string[] $outer_wrapper_attrs | |
* @param ET_Builder_Element $module_instance | |
*/ | |
$outer_wrapper_attrs = apply_filters( "et_builder_module_{$slug}_outer_wrapper_attrs", $outer_wrapper_attrs, $this ); | |
/** | |
* Filters the HTML attributes for the module's inner wrapper. The dynamic portion of the | |
* filter name, '$slug', corresponds to the module's slug. | |
* | |
* @since 3.1 | |
* | |
* @param string[] $inner_wrapper_attrs | |
* @param ET_Builder_Element $module_instance | |
*/ | |
$inner_wrapper_attrs = apply_filters( "et_builder_module_{$slug}_inner_wrapper_attrs", $inner_wrapper_attrs, $this ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment