This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* WordPress dependencies. | |
*/ | |
import api from '@wordpress/api'; | |
import { __ } from '@wordpress/i18n'; | |
import { dispatch } from '@wordpress/data'; | |
import { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* WordPress dependencies. | |
*/ | |
import { useDispatch, useSelect } from '@wordpress/data'; | |
/** | |
* useMeta Hook. | |
* | |
* useMeta hook to get/update WordPress' meta fields. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" The Ultimate vimrc: https://github.com/amix/vimrc | |
" - Requires vim with python3 support. For Mac, you can install vim with Homebrew for python3 support | |
" - Make sure you use a Hack font on your terminal for icons to work properly. | |
" Install vim-plug if not found | |
if empty(glob('~/.vim/autoload/plug.vim')) | |
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs | |
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
endif |