Abstract_Builders
Class Abstract_Builders
Source
File: includes/modules/custom_layouts/admin/builders/abstract_builders.php
Expand full source code Collapse full source code View on Github
Methods
- add_styles — Function that enqueues styles if needed.
- get_builder_id — Get builder id.
- get_post_builder — Get the builder that you used to edit a post.
- is_expired — Check if a post is expired or not.
- layout_has_condition — Check if current custom layout has a specific condition.
- maybe_get_translated_layout — Get the translated layout in Polylang or WPML.
- register_hooks — Add actions to hooks.
- render — Abstract function that needs to be implemented in Builders classes.
- replace_magic_tags — Replace magic tags from post content.
- should_load — Check if class should load or not.