woocommerce_display_admin_footer_text

woocommerce_display_admin_footer_text

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.9.5

apply_filters('woocommerce_display_admin_footer_text') is found 1 times:

  • /includes/admin/class-wc-admin.php line 331
    		 * Filter to determine if admin footer text should be displayed.
    		 *
    		 * @since 2.3
    		 */
    		if ( isset( $current_screen->id ) && apply_filters( 'woocommerce_display_admin_footer_text', in_array( $current_screen->id, $wc_pages, true ) ) ) {
    			// Change the footer text.
    			if ( ! get_option( 'woocommerce_admin_footer_text_rated' ) ) {
    				$footer_text = sprintf(
    					/* translators: 1: WooCommerce 2:: five stars */
    					__( 'If you like %1$s please leave us a %2$s rating. A huge thanks in advance!', 'woocommerce' ),
    					sprintf( '<strong>%s</strong>', esc_html__( 'WooCommerce', 'woocommerce' ) ),