If you currently not using a service worker resulting in old production caches being used and users not getting new versions of the app.
src/index.js
Use:
import { unregister as unregisterServiceWorker } from './registerServiceWorker'| <?php | |
| add_filter( 'account_page_form_fields', function ( $fields ) { | |
| if ( ! wp_verify_nonce( $_POST['account_update_nonce'], 'verify_account_form' ) ) { | |
| return $fields; | |
| } | |
| /** | |
| * Changed this array to the field keys (wpum_ is the prefix) | |
| */ |
| /** | |
| * Filter team products from main shop only on frontend on shop, category, and tag archives | |
| */ | |
| function exclude_team_products( $query ) { | |
| $archive_query = $query->is_post_type_archive('product') && $query->is_main_query(); | |
| $cat_tag_query = $query->is_tax( array('product_cat', 'product_tag') ) && $query->is_main_query(); | |
| if ( !is_admin() && $archive_query || !is_admin() && $cat_tag_query ) { | |
| $taxquery = array( | |
| array( | |
| 'taxonomy' => 'product_team', |
| add_action('post_submitbox_misc_actions', createCustomField); | |
| add_action('save_post', saveCustomField); |
| flex-flow:column-reverse wrap-reverse; | |
| justify-content:center; | |
| align-content:space-between; |
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\