We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
// Filter the WC API add_filter( 'determine_current_user', function( $user_id ) { return 1; }, 20 ); add_filter( 'woocommerce_api_check_authentication', function( $user ) { return new WP_User( 1 ); } ); add_filter( 'rest_authentication_errors', '__return_null', 500 );