woocommerce_get_customer_payment_tokens_limit

woocommerce_get_customer_payment_tokens_limit

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_get_customer_payment_tokens_limit') is found 1 times:

  • /includes/class-wc-payment-tokens.php line 84
    				 * @since 7.2.0
    				 *
    				 * @param int $limit Defaults to the value of the `posts_per_page` option.
    				 */
    				'limit'      => apply_filters( 'woocommerce_get_customer_payment_tokens_limit', get_option( 'posts_per_page' ) ),
    			)
    		);
    
    		return apply_filters( 'woocommerce_get_customer_payment_tokens', $tokens, $customer_id, $gateway_id );
    	}