/*
Stop Gravity Forms from storing entries in the database.
Replace '2' with your form ID.
*/
add_action( 'gform_after_submission_2', 'site_name_remove_form_entry' );
function site_name_remove_form_entry( $entry ) {
GFAPI::delete_entry( $entry['id'] );
}
This file contains hidden or 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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
This file contains hidden or 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
AB | |
BC | |
MB | |
NB | |
NL | |
NS | |
NT | |
NU | |
ON | |
PE |
This file contains hidden or 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
AK | |
AL | |
AZ | |
AR | |
CA | |
CO | |
CT | |
DC | |
DE | |
FL |
This file contains hidden or 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
{ | |
// 3rd Party Extensions Settings. | |
"phpcs.standard": "WebDevStudios", | |
// Theme setup. | |
"workbench.colorTheme": "Shades of Purple", | |
"workbench.iconTheme": "eq-material-theme-icons", | |
"workbench.settings.editor": "json", | |
// Fonts. | |
"editor.fontFamily": "Fira Code, Menlo, Monaco, 'Courier New', monospace", | |
"editor.fontLigatures": true, |
(pssst. Feel free to make suggestions!)
Feel free to make suggestions!
This file contains hidden or 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
echo '<pre>'; | |
print_r( get_the_ID() ); | |
echo '</pre>'; | |
echo '<pre>'; | |
print_r(get_field( 'blog_hero' )); | |
echo '</pre>'; | |
die; |
NewerOlder