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.8.7.0

apply_filters('woocommerce_display_admin_footer_text') is found 1 times:

  • /includes/admin/class-wc-admin.php line 246
    		// Set only WC pages.
    		$wc_pages = array_diff( $wc_pages, array( 'profile', 'user-edit' ) );
    
    		// Check to make sure we're on a WooCommerce admin page.
    		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' ) ),