Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
// Create custom menu within Spreadsheet | |
function onOpen() { | |
var submenu = [{name:"Save and Email PDF", functionName:"spreadsheetToPDF"}]; | |
SpreadsheetApp.getActiveSpreadsheet().addMenu('Admin Functions', submenu); | |
} | |
// Start spreadsheetToPDF function | |
function spreadsheetToPDF(key) { | |
// Authentication stuff |
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
<?php | |
#-----------------------------------------------------------------# | |
# Example: load revised tinymce file in child theme folder | |
#-----------------------------------------------------------------# | |
add_action( 'after_setup_theme', 'new_function_setup' ); | |
function new_function_setup() { | |
remove_action('init', 'old_function_init'); |
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
<? | |
// Gravity Form Hook to SQL Database for Today's Dishes // | |
// the ### in gform_pre_render_### locates the id of your form // | |
add_filter('gform_pre_render_5', 'todays_dishes'); | |
function todays_dishes($form){ | |
foreach($form['fields'] as &$field){ |