Lines:
1 to 43 of 43
<?php /** * Genesis Framework. * * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances. * Please do all modifications in the form of a child theme. * * @package Genesis\Admin * @author StudioPress * @license GPL-2.0-or-later * @link https://my.studiopress.com/themes/genesis/ */ add_action( 'admin_menu', 'genesis_add_inpost_seo_box' ); /* function genesis_add_inpost_seo_box() – Register a new meta box to the post or page edit screen, so that the user can set SEO options on a per-post or per-page basis. */ /* function genesis_inpost_seo_box() – Callback for in-post SEO meta box. */ /* function genesis_seo_contextual_help() – Callback for in-post SEO meta box contextual help. */ add_action( 'save_post', 'genesis_inpost_seo_save', 1, 2 ); /* function genesis_inpost_seo_save() – Save the SEO settings when we save a post or page. */ add_action( 'admin_menu', 'genesis_add_inpost_scripts_box' ); /* function genesis_add_inpost_scripts_box() – Register a new meta box to the post or page edit screen, so that the user can apply scripts on a per-post or per-page basis. */ /* function genesis_inpost_scripts_box() – Callback for in-post Scripts meta box. */ add_action( 'save_post', 'genesis_inpost_scripts_save', 1, 2 ); /* function genesis_inpost_scripts_save() – Save the Scripts settings when we save a post or page. */ add_action( 'add_meta_boxes', 'genesis_add_inpost_layout_box', 10, 2 ); /* function genesis_add_inpost_layout_box() – Register a new meta box to the post or page edit screen, so that the user can set layout options on a per-post or per-page basis. */ /* function genesis_inpost_layout_box() – Callback for in-post layout meta box. */ add_action( 'save_post', 'genesis_inpost_layout_save', 1, 2 ); /* function genesis_inpost_layout_save() – Save the layout options when we save a post or page. */