hooks(); $this->show_notices = apply_filters( 'edd_show_deprecated_notices', ( defined( 'WP_DEBUG' ) && WP_DEBUG ) ); $this->show_backtrace = apply_filters( 'edd_show_backtrace', ( defined( 'WP_DEBUG' ) && WP_DEBUG ) && ! defined( 'EDD_DOING_TESTS' ) ); } /** * Getter for component. * * @since 3.0 * * @return string Component. */ public function get_component() { return $this->component; } /** * Backwards compatibility hooks for component. * * @since 3.0 * @access protected */ abstract protected function hooks(); }