Astra_Elementor_Pro::__construct()
Constructor
Description
Source
File: inc/compatibility/class-astra-elementor-pro.php
public function __construct() { // Add locations. add_action( 'elementor/theme/register_locations', array( $this, 'register_locations' ) ); // Override theme templates. add_action( 'astra_header', array( $this, 'do_header' ), 0 ); add_action( 'astra_footer', array( $this, 'do_footer' ), 0 ); add_action( 'astra_template_parts_content_top', array( $this, 'do_template_parts' ), 0 ); add_action( 'astra_entry_content_404_page', array( $this, 'do_template_part_404' ), 0 ); add_filter( 'post_class', array( $this, 'render_post_class' ), 99 ); // Override post meta. add_action( 'wp', array( $this, 'override_meta' ), 0 ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.2.7 | Introduced. |