deprecated_function( __METHOD__, '1.5.0', 'Charitable_Endpoints::template_loader()' ); return charitable()->endpoints()->template_loader( $template ); } /** * @deprecated 1.5.0 */ protected function get_donation_receipt_template( $template ) { charitable_get_deprecated()->deprecated_function( __METHOD__, '1.5.0', 'Charitable_Donation_Receipt_Endpoint::get_template()' ); return charitable()->endpoints()->get_endpoint_template( 'donation_receipt', $template ); } /** * @deprecated 1.5.0 */ protected function get_donation_processing_template( $template ) { charitable_get_deprecated()->deprecated_function( __METHOD__, '1.5.0', 'Charitable_Donation_Processing_Endpoint::get_template()' ); return charitable()->endpoints()->get_endpoint_template( 'donation_processing', $template ); } /** * @deprecated 1.5.0 */ protected function get_donate_template( $template ) { charitable_get_deprecated()->deprecated_function( __METHOD__, '1.5.0', 'Charitable_Campaign_Donation_Endpoint::get_template()' ); return charitable()->endpoints()->get_endpoint_template( 'campaign_donation', $template ); } /** * @deprecated 1.5.0 */ protected function get_widget_template( $template ) { charitable_get_deprecated()->deprecated_function( __METHOD__, '1.5.0', 'Charitable_Campaign_Widget_Endpoint::get_template()' ); return charitable()->endpoints()->get_endpoint_template( 'campaign_widget', $template ); } /** * @deprecated 1.5.0 */ protected function get_email_template( $template ) { charitable_get_deprecated()->deprecated_function( __METHOD__, '1.5.0', 'Charitable_Email_Preview_Endpoint::get_template()' ); return charitable()->endpoints()->get_endpoint_template( 'email_preview', $template ); } /** * @deprecated 1.5.0 */ protected function get_forgot_password_template( $template ) { charitable_get_deprecated()->deprecated_function( __METHOD__, '1.5.0', 'Charitable_Forgot_Password_Endpoint::get_template()' ); return charitable()->endpoints()->get_endpoint_template( 'forgot_password', $template ); } /** * @deprecated 1.5.0 */ protected function get_reset_password_template( $template ) { charitable_get_deprecated()->deprecated_function( __METHOD__, '1.5.0', 'Charitable_Reset_Password_Endpoint::get_template()' ); return charitable()->endpoints()->get_endpoint_template( 'reset_password', $template ); } /** * @deprecated 1.3.0 */ public function add_donation_page_body_class( $classes ) { charitable_get_deprecated()->deprecated_function( __METHOD__, '1.3.0', 'charitable_add_body_classes()' ); return $classes; } /** * @deprecated 1.3.0 */ public function add_widget_page_body_class( $classes ) { charitable_get_deprecated()->deprecated_function( __METHOD__, '1.3.0', 'charitable_add_body_classes()' ); return $classes; } /** * @deprecated 1.3.0 */ public function remove_admin_bar_from_widget_template() { charitable_get_deprecated()->deprecated_function( __METHOD__, '1.3.0', 'charitable_hide_admin_bar()' ); return charitable_hide_admin_bar(); } /** * @deprecated 1.3.0 */ public function donation_receipt_template( $template ) { charitable_get_deprecated()->deprecated_function( __METHOD__, '1.3.0', 'Charitable_Templates::template_loader() or Charitable_Templates::get_donation_receipt_template()' ); return $this->get_donation_receipt_template( $template ); } /** * @deprecated 1.3.0 */ public function donation_processing_template( $template ) { charitable_get_deprecated()->deprecated_function( __METHOD__, '1.3.0', 'Charitable_Templates::template_loader() or Charitable_Templates::get_donation_processing_template()' ); return $this->get_donation_processing_template( $template ); } /** * @deprecated 1.3.0 */ public function donate_template( $template ) { charitable_get_deprecated()->deprecated_function( __METHOD__, '1.3.0', 'Charitable_Templates::template_loader() or Charitable_Templates::get_donate_template()' ); return $this->get_donate_template( $template ); } /** * @deprecated 1.3.0 */ public function widget_template( $template ) { charitable_get_deprecated()->deprecated_function( __METHOD__, '1.3.0', 'Charitable_Templates::template_loader() or Charitable_Templates::get_widget_template()' ); return $this->get_widget_template( $template ); } /** * @deprecated 1.3.0 */ public function email_template( $template ) { charitable_get_deprecated()->deprecated_function( __METHOD__, '1.3.0', 'Charitable_Templates::template_loader() or Charitable_Templates::get_email_template()' ); return $this->get_email_template( $template ); } } endif; // End class_exists check