ASTRA_Ext_Edd_Markup::__construct()
Constructor
Description
Source
File: addons/edd/classes/class-astra-ext-edd-markup.php
public function __construct() {
add_action( 'wp', array( $this, 'edd_initializattion' ) );
add_action( 'wp', array( $this, 'customization_checkout_page' ) );
add_action( 'astra_get_css_files', array( $this, 'add_styles' ) );
add_filter( 'body_class', array( $this, 'body_class' ) );
add_filter( 'post_class', array( $this, 'post_class' ) );
add_filter( 'edd_download_class', array( $this, 'shortcode_download_class' ), 10, 4 );
add_shortcode( 'astra_edd_mini_cart', array( $this, 'astra_edd_mini_cart_markup' ) );
// Load Google fonts.
add_action( 'astra_get_fonts', array( $this, 'add_fonts' ), 1 );
}
Expand full source code Collapse full source code View on Trac