Cooked 1.17.1 has 42 actions and 132 filters, read directly from its source code on Nov 18, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Cooked fires an action
add_action( 'cooked_after_ingredient_amount_field', function( $ing_key, $value ) {
// Your code runs here.
}, 10, 2 );
// Change a value Cooked is about to use
add_filter( 'cooked_related_recipes_default_atts', function( $default_atts ) {
// Change $default_atts here.
return $default_atts;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Cooked Welcome admin page */ apply_filters( 'cooked_welcome_banner_img', COOKED_URL . '/assets/admin/images/welcome-banner.png' ); -
apply_filters( 'widget_title', $instance['title'] ); -
apply_filters( 'cooked_recipe_shortcode_output', $output, $recipe_id ); -
apply_filters( 'cooked_term_name', $term->name, $term->ID, $term->taxonomy ); -
do_action( 'cooked_after_ingredient_amount_field', $ing_key, $value ); -
do_action( 'cooked_after_ingredient_measurement_field', $ing_key, $value ); -
do_action( 'cooked_after_ingredient_name_field', $ing_key, $value ); -
do_action( 'cooked_before_ingredient_fields', $ing_key, $value ); -
apply_filters( 'cooked_seo_recipe_content', '[cooked-excerpt]<h2>' . __( 'Ingredients', 'cooked' ) . '</h2>[cooked-ingredients checkboxes=false]<h2>' . __( 'Directions', 'cooked' ) . '</h2>[cooked-directions numbers=false]' ); -
apply_filters( 'active_plugins', get_option('active_plugins') ); -
apply_filters( 'cooked_active_taxonomies', ['cp_recipe_category'] ); -
do_action( 'cooked_recipe_grid_after_author', $recipe ); -
do_action( 'cooked_recipe_grid_after_excerpt', $recipe ); -
do_action( 'cooked_recipe_grid_after_name', $recipe ); -
do_action( 'cooked_recipe_grid_after_recipe', $recipe ); -
do_action( 'cooked_recipe_grid_before_author', $recipe ); -
do_action( 'cooked_recipe_grid_before_excerpt', $recipe ); -
do_action( 'cooked_recipe_grid_before_image', $recipe ); -
do_action( 'cooked_recipe_grid_before_name', $recipe ); -
do_action( 'cooked_recipe_grid_before_recipe', $recipe ); -
apply_filters( 'cooked_recipe_list_style', [ 'grid' => 'Cooked_Recipes' ], $atts['layout'] ); -
apply_filters( 'cooked_recipe_metabox_post_types', apply_filters( 'cp_recipe_metabox_post_types', [ 'cp_recipe' ] ) ); -
apply_filters( 'cooked_should_update_post_content', true, $recipe_id ); -
apply_filters( 'cooked_single_recipe_classes', [ 'cooked-recipe', 'has-post-thumbnail' ], $recipe ); -
apply_filters( 'cp_recipe_metabox_post_types', [ 'cp_recipe' ] ); -
apply_filters( 'wpml_active_languages', null ); -
apply_filters( 'cooked_advanced_options', [ 'disable_public_recipes' => '<strong>' . __('Disable Public Recipes', 'cooked') . '</strong> — ' . sprintf(__('Only show recipes using the %s shortcode.', 'cooked'), '<code>[cooked-recipe]</code>'), 'disable_meta_tags' => '<strong>' . sprintf(__('Disable %s Tags', 'cooked'), 'Cooked <code><meta></code>') . '</strong> — ' . __('Prevents duplicates when tags already exist.', '... ); -
do_action( 'cooked_after_print_recipe' ); -
do_action( 'cooked_after_search_filter_columns' ); -
apply_filters( 'cooked_allergens', [ 'celery' => [ 'label' => __( 'Celery', 'cooked' ), 'icon' => 'allergen-celery', ], 'shellfish' => [ 'label' => __( 'Crustacean shellfish', 'cooked' ), 'icon' => 'allergen-shellfish', ], 'eggs' => [ 'label' => __( 'Eggs', 'cooked' ), 'icon' => 'allergen-egg', ], 'fish' => [ 'label' => __( 'Fish', 'cooked' ), 'icon' => 'allergen-fish', ], 'lupin' => [ 'label' => __( 'Lupin', 'cooked' ), 'icon' ... ); -
apply_filters( 'cooked_author_image_options', [ 'hidden' => __('Hide Author Images', 'cooked'), ] ); -
apply_filters( 'cooked_author_link_options', [ 'disabled' => __('Disable Author Links', 'cooked'), ] ); -
apply_filters( 'cooked_author_permalink', $permalink, $author['id'], $author_slug ); -
apply_filters( 'cooked_author_template_override', false, $author ); -
apply_filters( 'cooked_available_info_shortcode_methods', [ 'cooked_info_author' => 'Cooked_Recipes', 'cooked_info_difficulty' => 'Cooked_Recipes', 'cooked_info_servings' => 'Cooked_Recipes', 'cooked_info_print' => 'Cooked_Recipes', 'cooked_info_fullscreen' => 'Cooked_Recipes', 'cooked_info_prep_time' => 'Cooked_Recipes', 'cooked_info_cook_time' => 'Cooked_Recipes', 'cooked_info_total_time' => 'Cooked_Recipes', 'cooked_info_taxonomies' => 'Cooked_Reci... ); -
apply_filters( 'cooked_available_info_vars', [ 'author' => __('Author', 'cooked'), 'prep_time' => __('Prep Time', 'cooked'), 'cook_time' => __('Cook Time', 'cooked'), 'total_time' => __('Total Time', 'cooked'), 'difficulty_level' => __('Difficulty', 'cooked'), 'servings' => __('Servings Switcher', 'cooked'), 'taxonomies' => __('Category', 'cooked'), 'print' => esc_html__('Print Mode', 'cooked'), 'fullscreen' => __('Full-Screen Mode', 'coo... ); -
do_action( 'cooked_before_nutrition_information', $post_id ); -
do_action( 'cooked_before_print_recipe' ); -
do_action( 'cooked_before_search_filter_columns' ); -
apply_filters( 'cooked_browse_shortcode_default_attributes', [ 'category' => false, 'order' => false, 'orderby' => false, 'show' => false, 'search' => 'true', 'pagination' => 'true', 'columns' => 3, 'layout' => false, 'author' => $author_query_var, 'compact' => false, 'hide_browse' => false, 'hide_sorting' => false, 'exclude' => false, 'inline_browse' => false, 'hide_excerpt' => false, ] ); -
apply_filters( 'cooked_browse_sorting_types', [ 'date_desc' => [ 'slug' => 'date_desc', 'name' => __("Newest first", "cooked") ], 'date_asc' => [ 'slug' => 'date_asc', 'name' => __("Oldest first", "cooked") ], 'title_asc' => [ 'slug' => 'title_asc', 'name' => __("Alphabetical (A-Z)", "cooked") ], 'title_desc' => [ 'slug' => 'title_desc', 'name' => __("Alphabetical (Z-A)", "cooked") ] ], $sorting_type ); -
apply_filters( 'cooked_can_show_recipe', true, $instance['recipe_id'] ); -
do_action( 'cooked_check_recipe_query' ); -
apply_filters( 'cooked_dark_mode_auto_scope', '[data-theme="dark"]' ); -
apply_filters( 'cooked_dark_mode_field_desc', __( 'Use <strong>Auto</strong> if your theme has a visitor dark mode toggle. Cooked will then match that choice. Otherwise leave this Off.', 'cooked' ) ); -
apply_filters( 'cooked_dark_mode_options', [ 'off' => __('Off', 'cooked'), 'enabled' => __('On', 'cooked'), 'auto' => __('Auto (match theme dark mode)', 'cooked'), ] ); -
apply_filters( 'cooked_default_content', '<p>[cooked-info left="author,taxonomies,difficulty" right="print,fullscreen"]</p><p>[cooked-excerpt]</p><p>[cooked-image]</p><p>[cooked-info left="servings" right="prep_time,cook_time,total_time"]</p><p>[cooked-info left="allergens"]</p><p>[cooked-ingredients]</p><p>[cooked-directions]</p><p>[cooked-notes show_header=true]</p><p>[cooked-gallery]</p>' ); -
apply_filters( 'cooked_default_info_array', [ 'author' => __('Author', 'cooked'), 'difficulty_level' => __('Difficulty', 'cooked'), 'servings' => __('Yields', 'cooked'), 'prep_time' => __('Prep Time', 'cooked'), 'cook_time' => __('Cook Time', 'cooked'), 'total_time' => __('Total Time', 'cooked'), 'taxonomies' => !empty($_cooked_settings['recipe_taxonomies']) ? $_cooked_settings['recipe_taxonomies'] : [] ] ); -
apply_filters( 'cooked_default_print_options', [ 'print_options_title' => 'checked', 'print_options_info' => '', 'print_options_excerpt' => '', 'print_options_images' => '', 'print_options_ingredients' => 'checked', 'print_options_directions' => 'checked', 'print_options_notes' => 'checked', 'print_options_nutrition' => '', ] ); -
apply_filters( 'cooked_difficulty_levels', [ 1 => __('Beginner', 'cooked'), 2 => __('Intermediate', 'cooked'), 3 => __('Advanced', 'cooked') ] ); -
do_action( 'cooked_direction_buttons_end' ); -
do_action( 'cooked_direction_buttons_start' ); -
apply_filters( 'cooked_direction_image_html', $image, $atts ); -
apply_filters( 'cooked_direction_image_size', 'large' ); -
apply_filters( 'cooked_directions_shortcode_atts', [ 'numbers' => true, ] ); -
apply_filters( 'cooked_format_author_name', $name, $format ); -
apply_filters( 'cooked_fsm_content', ' <div class="cooked-fsm-ingredients cooked-fsm-content cooked-active" data-nosnippet aria-hidden="false"> <div class="cooked-panel"><h2>' . __('Ingredients', 'cooked') . '</h2>[cooked-ingredients]</div> </div> <div class="cooked-fsm-directions-wrap cooked-fsm-content" data-nosnippet aria-hidden="true"> <div class="cooked-fsm-directions cooked-fsm-content"> <div class="cooked-panel"><h2>' . __(... ); -
apply_filters( 'cooked_gallery_items_output', $recipe_settings['gallery']['items'] ); -
apply_filters( "cooked_gallery_type_{$slug}_query", [ 'post_type' => $slug, 'post_status' => 'publish', 'posts_per_page' => -1 ] ); -
apply_filters( 'cooked_gallery_types', [ 'cooked' => [ 'title' => __('Cooked Gallery', 'cooked'), 'required_class' => '' ], 'envira' => [ 'title' => __('Envira Gallery', 'cooked'), 'required_class' => [ 'Envira_Gallery', 'Envira_Gallery_Lite' ] ], 'soliloquy' => [ 'title' => __('Soliloquy Slider', 'cooked'), 'required_class' => [ 'Soliloquy', 'Soliloquy_Lite' ] ], 'revslider' => [ 'title' => __('Slider Revolution', 'cooked'), 'requi... ); -
apply_filters( 'cooked_gallery_video_last_option', false ); -
apply_filters( 'cooked_get_settings', $_cooked_settings ); -
apply_filters( 'cooked_import_tabs_fields', $import_tabs ); -
apply_filters( 'cooked_info_shortcode_output', $cooked_info_html, $recipe_settings ); -
do_action( 'cooked_info_taxonomies_shortcode_after', $recipe_settings ); -
do_action( 'cooked_info_taxonomies_shortcode_before', $recipe_settings ); -
do_action( 'cooked_ingredient_after_amount', $ing ); -
do_action( 'cooked_ingredient_after_checkbox', $ing ); -
do_action( 'cooked_ingredient_after_name', $ing ); -
do_action( 'cooked_ingredient_buttons_end' ); -
do_action( 'cooked_ingredient_buttons_start' ); -
apply_filters( 'cooked_ingredient_field_classes', 'recipe-setting-block cooked-ingredient-block cooked-clearfix', $value ); -
apply_filters( 'cooked_ingredient_name', wp_kses_post( $ing['name'] ), $ing ); -
do_action( 'cooked_ingredients_shortcode_after', $recipe_settings ); -
do_action( 'cooked_ingredients_shortcode_before', $recipe_settings ); -
do_action( 'cooked_init_pagination', $recipe_args, $current_recipe_page, $total_recipe_pages, $atts ); -
apply_filters( 'cooked_languages_directory', COOKED_DIR . 'languages/' ); -
do_action( 'cooked_loaded' ); -
apply_filters( 'cooked_measurements', [ 'g' => [ 'singular_abbr' => _x( 'g', 'Grams Abbreviation (Singular)', 'cooked' ), 'plural_abbr' => _x( 'g', 'Grams Abbreviation (Plural)', 'cooked' ), 'singular' => __( 'gram', 'cooked' ), 'plural' => __( 'grams', 'cooked' ), 'system' => 'metric', 'variations' => [ 'g', 'g.', 'gram', 'grams' ], ], 'kg' => [ 'singular_abbr' => _x('kg', 'Kilograms Abbreviation (Singular)', 'cooked'), 'plural_ab... ); -
apply_filters( 'cooked_nutrition_facts', [ 'top' => [ 'servings' => [ 'name' => __('Servings', 'cooked'), 'type' => 'number' ], 'serving_size' => [ 'name' => __('Serving size', 'cooked'), 'type' => 'text' ], ], 'mid' => [ 'calories' => [ 'name' => __('Calories', 'cooked'), 'type' => 'number' ] ], 'main' => [ 'fat' => [ 'name' => __('Total Fat', 'cooked'), 'type' => 'number', 'measurement' => $unit_g, 'pdv' => apply_filters('cooked_pdv... ); -
do_action( 'cooked_nutrition_facts_powered_by_edamam' ); -
apply_filters( 'cooked_pagination_args', [ 'base' => $base, 'format' => $format, 'mid-size' => 1, 'current' => $current_recipe_page, 'total' => $total_recipe_pages, 'prev_next' => true, 'prev_text' => '<i class="cooked-icon cooked-icon-angle-left"></i>', 'next_text' => '<i class="cooked-icon cooked-icon-angle-right"></i>', ] ); -
apply_filters( 'cooked_pagination_style', ['numbered_pagination' => 'Cooked_Recipes'] ); -
apply_filters( 'cooked_pdv_added_sugars', 50 ); -
apply_filters( 'cooked_pdv_biotin', 30 ); -
apply_filters( 'cooked_pdv_calcium', 1300 ); -
apply_filters( 'cooked_pdv_carbs', 275 ); -
apply_filters( 'cooked_pdv_chloride', 2300 ); -
apply_filters( 'cooked_pdv_cholesterol', 300 ); -
apply_filters( 'cooked_pdv_chromium', 35 ); -
apply_filters( 'cooked_pdv_copper', 0.9 ); -
apply_filters( 'cooked_pdv_fat', 78 ); -
apply_filters( 'cooked_pdv_fiber', 28 ); -
apply_filters( 'cooked_pdv_folate', 400 ); -
apply_filters( 'cooked_pdv_iodine', 150 ); -
apply_filters( 'cooked_pdv_iron', 18 ); -
apply_filters( 'cooked_pdv_magnesium', 420 ); -
apply_filters( 'cooked_pdv_manganese', 2.3 ); -
apply_filters( 'cooked_pdv_molybdenum', 45 ); -
apply_filters( 'cooked_pdv_niacin', 16 ); -
apply_filters( 'cooked_pdv_pantothenic_acid', 5 ); -
apply_filters( 'cooked_pdv_phosphorus', 1250 ); -
apply_filters( 'cooked_pdv_potassium', 4700 ); -
apply_filters( 'cooked_pdv_riboflavin', 1.3 ); -
apply_filters( 'cooked_pdv_satfat', 20 ); -
apply_filters( 'cooked_pdv_selenium', 55 ); -
apply_filters( 'cooked_pdv_sodium', 2300 ); -
apply_filters( 'cooked_pdv_thiamin', 1.2 ); -
apply_filters( 'cooked_pdv_vitamin_a', 900 ); -
apply_filters( 'cooked_pdv_vitamin_b12', 2.4 ); -
apply_filters( 'cooked_pdv_vitamin_b6', 1.7 ); -
apply_filters( 'cooked_pdv_vitamin_c', 90 ); -
apply_filters( 'cooked_pdv_vitamin_d', 20 ); -
apply_filters( 'cooked_pdv_vitamin_e', 15 ); -
apply_filters( 'cooked_pdv_vitamin_k', 120 ); -
apply_filters( 'cooked_pdv_zinc', 11 ); -
apply_filters( 'cooked_per_page_options', $per_page_array ); -
apply_filters( 'cooked_post_types', [ 'cp_recipe' => [ 'labels' => [ 'name' => _x( 'Recipes', 'post type general name', 'cooked' ), 'singular_name' => _x( 'Recipe', 'post type singular name', 'cooked' ), 'menu_name' => __('Recipes', 'cooked'), 'name_admin_bar' => __('Recipe', 'cooked'), 'add_new' => __('Add New', 'cooked'), 'add_new_item' => __('Add New Recipe', 'cooked'), 'new_item' => __('New Recipe', 'cooked'), 'edit_item' => ... ); -
apply_filters( 'cooked_pre_recipe_content', $recipe_content, $recipe_id ); -
apply_filters( 'cooked_print_content', '<p>[cooked-info include="servings,prep_time,cook_time,total_time"]</p><p>[cooked-excerpt]</p><p>[cooked-image]</p><p>[cooked-ingredients]</p><p>[cooked-directions]</p><p>[cooked-notes show_header=true]</p><p>[cooked-nutrition]</p>' ); -
apply_filters( 'cooked_print_view_display_options', [ 'site_logo' => __('Show Website Logo', 'cooked'), ] ); -
apply_filters( 'cooked_query_where_filter', $wpdb->prepare( "{$wpdb->posts}.post_title LIKE %s", '%' . $wpdb->esc_like( $title ) . '%' ) ); -
apply_filters( 'cooked_recipe_admin_tabs', [ 'content' => [ 'icon' => 'desktop', 'name' => __('Layout', 'cooked'), 'conditional' => false, 'value' => false ], 'ingredients' => [ 'icon' => 'list', 'name' => __('Ingredients', 'cooked'), 'conditional' => false, 'value' => false ], 'directions' => [ 'icon' => 'directions', 'name' => __('Directions', 'cooked'), 'conditional' => false, 'value' => false ], 'nutrition' => [ 'icon' => 'heart', '... ); -
apply_filters( 'cooked_recipe_card_allergen_hooks', [ 'cooked_recipe_grid_after_name', 'cooked_recipe_modern_after_name', 'cooked_recipe_full_after_name', ] ); -
apply_filters( 'cooked_recipe_content', $recipe_content, $recipe_id ); -
apply_filters( 'cooked_recipe_content_filter', $recipe_content, $content, $post->ID, $layout_content ); -
apply_filters( 'cooked_recipe_editor_caps', [ 'manage_categories' => 1, 'upload_files' => 1, 'unfiltered_html' => 1, ] ); -
apply_filters( 'cooked_recipe_embed_blocked_message', $message, $recipe_id, self::$recipe_embed_stack ); -
do_action( 'cooked_recipe_fields', $post->ID ); -
apply_filters( 'cooked_recipe_gallery_options', [ 'data-fit' => 'cover', 'data-nav' => 'dots', 'data-width' => '100%', 'data-loop' => 'true', 'data-allowfullscreen' => 'true', 'data-ratio' => '800/600', 'data-thumbmargin' => '10', 'data-thumbborderwidth' => '5', 'data-swipe' => 'true', 'data-thumbheight' => '75', 'data-thumbwidth' => '75' ] ); -
do_action( 'cooked_recipe_grid_after_image', $recipe ); -
apply_filters( 'cooked_recipe_info_display_options', [ 'author' => __('Author', 'cooked'), 'taxonomies' => __('Category', 'cooked'), 'difficulty_level' => __('Difficulty Level', 'cooked'), 'excerpt' => __('Excerpt', 'cooked'), 'notes' => __('Notes', 'cooked'), 'timing_prep' => __('Prep Time', 'cooked'), 'timing_cook' => __('Cook Time', 'cooked'), 'timing_total' => __('Total Time', 'cooked'), 'servings' => __('Servings', 'cooked') ] ); -
apply_filters( 'cooked_recipe_info_display_options_defaults', [ 'author', 'taxonomies', 'difficulty_level', 'excerpt', 'timing_prep', 'timing_cook', 'timing_total', 'servings' ] ); -
do_action( 'cooked_recipe_meta_before_fields', $recipe_settings ); -
apply_filters( 'cooked_recipe_public_query_filters', $recipe_args ); -
apply_filters( 'cooked_recipe_query_args', $recipe_args, $atts, $sorting_types ); -
do_action( 'cooked_recipe_shortcodes_after' ); -
do_action( 'cooked_recipe_shortcodes_before' ); -
do_action( 'cooked_recipe_tabs_after' ); -
do_action( 'cooked_recipe_tabs_before' ); -
apply_filters( 'cooked_recipe_wp_editor_roles_defaults', ['administrator', 'editor', 'cooked_recipe_editor'] ); -
apply_filters( 'cooked_schema_array', $schema_data, $rpost, $recipe ); -
apply_filters( 'cooked_schema_html', $schema_html, $recipe ); -
apply_filters( 'cooked_servings_switcher_options', [ 'quarter' => ['name' => $quarter_string, 'value' => $quarter], 'half' => ['name' => $half_string, 'value' => $half], 'default' => ['name' => $default_string, 'value' => $default], 'double' => ['name' => $double_string, 'value' => $double], 'triple' => ['name' => $triple_string, 'value' => $triple], ], $quarter, $half, $default, $double, $triple ); -
apply_filters( "cooked_settings_{$term}_array", $terms_array ); -
apply_filters( 'cooked_settings_author_formats', [ 'full' => __('Full name', 'cooked'), 'first_last_initial' => __('Full first name w/last name initial', 'cooked'), 'first_initial_last' => __('First name initial w/full last name', 'cooked'), 'first_only' => __('First name only', 'cooked') ] ); -
apply_filters( 'cooked_settings_carb_formats', [ 'total' => __('Total Carbs', 'cooked'), 'net' => __('Net Carbs', 'cooked') ] ); -
apply_filters( 'cooked_settings_pages_array', $page_array ); -
apply_filters( 'cooked_settings_section_heading_default_html_tag_options', [ 'div' => __('div', 'cooked'), 'h2' => __('h2', 'cooked'), 'h3' => __('h3', 'cooked'), 'h4' => __('h4', 'cooked'), 'h5' => __('h5', 'cooked'), 'h6' => __('h6', 'cooked'), ] ); -
apply_filters( 'cooked_settings_sort_options', [ 'date_desc' => __('Newest First', 'cooked'), 'date_asc' => __('Oldest First', 'cooked'), 'title_asc' => __('Alphabetical', 'cooked'), 'title_desc' => __('Alphabetical (reversed)', 'cooked'), ] ); -
apply_filters( 'cooked_settings_tabs_fields', [ 'recipe_settings' => [ 'name' => __('General', 'cooked'), 'icon' => 'gear', 'fields' => [ 'browse_page' => [ 'title' => __('Browse/Search Recipes Page', 'cooked'), 'desc' => sprintf(__('Create a page with the %s shortcode on it, then choose it from this dropdown.', 'cooked'), '<code>[cooked-browse]</code>') . '<br><em>' . __('<b>Note:</b> This setting is required for the plugin to function pr... ); -
apply_filters( 'cooked_show_difficulty_level', $dl_html, $recipe['difficulty_level'] ); -
apply_filters( 'cooked_single_ingredient_html', $ing_html, $ing, $checkboxes, $plain_text ); -
apply_filters( 'cooked_single_recipe_settings', $recipe_settings, $post_id ); -
apply_filters( 'cooked_sync_c2_recipe_settings', $recipe_settings, $recipe_id ); -
apply_filters( 'cooked_tax_query_filter', $tax_query, $atts ); -
apply_filters( 'cooked_taxonomies', [ 'cp_recipe_category' => [ 'hierarchical' => true, 'labels' => [ 'name' => __('Categories', 'cooked'), 'singular_name' => __('Category', 'cooked'), 'search_items' => __('Search Categories', 'cooked'), 'all_items' => __('All Categories', 'cooked'), 'parent_item' => __('Parent Category', 'cooked'), 'parent_item_colon' => __('Parent Category:', 'cooked'), 'edit_item' => __('Edit Category', 'cooke... ); -
apply_filters( 'cooked_taxonomy_options', [ 'cp_recipe_category' => __('Categories', 'cooked') ] ); -
apply_filters( 'cooked_taxonomy_settings', [ 'cp_recipe_category' => (isset($_cooked_settings['recipe_category_permalink']) && $_cooked_settings['recipe_category_permalink'] ? $_cooked_settings['recipe_category_permalink'] : 'recipe-category') ] ); -
apply_filters( 'cooked_taxonomy_settings_update', [ 'recipe_permalink' => (!$_cooked_settings['recipe_permalink'] ? 'recipes' : $recipe_permalink), 'recipe_author_permalink' => (!$_cooked_settings['recipe_author_permalink'] || 'author' == $_cooked_settings['recipe_author_permalink'] ? 'recipe-author' : $recipe_author_permalink), 'recipe_category_permalink' => (!$_cooked_settings['recipe_category_permalink'] ? 'recipe-category' : $recipe_catego... ); -
apply_filters( 'cooked_timer_sound_mp3', COOKED_URL . 'assets/audio/ding.mp3' ); -
apply_filters( 'cooked_version_updates', [ '1.9.0' => [ 'update_rewrite_rules' ], '1.9.1' => [ 'update_rewrite_rules' ], '1.9.2' => [ 'update_rewrite_rules' ], '1.9.4' => [ 'update_rewrite_rules' ], '1.9.5' => [ 'update_rewrite_rules' ], '1.11.2' => [ 'fix_recipe_line_endings', 'update_rewrite_rules' ], '1.13.0' => [ 'purge_legacy_related_recipes_cache', 'remove_recipes_from_cooked_user_meta', ], '1.17.0' => [ 'remove_session_keys_fro... ); -
do_action( 'cooked_welcome_after_changelog' ); -
do_action( 'cooked_welcome_before_changelog' ); -
apply_filters( 'cooked_whats_new_title', sprintf( __( "What's new in %s?", "cooked" ), 'Cooked ' . COOKED_VERSION ) ); -
apply_filters( 'cooked_widgets', [ 'Cooked_Widget_Nutrition', 'Cooked_Widget_Search', 'Cooked_Widget_Recipe_List', 'Cooked_Widget_Recipe_Categories', 'Cooked_Widget_Recipe_Card', ] ); -
apply_filters( 'plugin_locale', get_locale(), 'cooked' ); -
apply_filters( 'the_content', $page->post_content ); -
apply_filters( 'wpml_current_language', null );
Generated from Cooked's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: