One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| File ---> application\controllers\admin\Authentication.php: | |
| 23: hooks()->do_action('admin_auth_init'); | |
| 80: hooks()->do_action('after_staff_login'); | |
| 107: hooks()->do_action('after_staff_login'); | |
| 117: hooks()->do_action('after_staff_login'); | |
| 219: hooks()->do_action('after_user_logout'); | |
| File ---> application\controllers\admin\Auto_update.php: | |
| 14: hooks()->do_action('before_perform_update', $latest_version); |
| /** | |
| * WP_Customize_Manager->add_setting(); // adds a new setting to the database | |
| * WP_Customize_Manager->add_section(); // adds a new section (i.e. category/group) to the Theme Customizer page | |
| * WP_Customize_Manager->add_control(); // creates an HTML control that admins can use to change settings. | |
| * WP_Customize_Manager->get_setting(); // can be used to fetch any existing setting, in the event you need to modify something | |
| */ | |
| add_action( 'customize_register', 'my_customize_register' ); | |
| function my_customize_register( $wp_customize ) { |
| <?php | |
| add_action('admin_init', 'gpm_add_meta_boxes', 2); | |
| function gpm_add_meta_boxes() { | |
| add_meta_box( 'gpminvoice-group', 'Custom Repeatable', 'Repeatable_meta_box_display', 'page', 'normal', 'default'); | |
| } | |
| function Repeatable_meta_box_display() { | |
| global $post; | |
| $gpminvoice_group = get_post_meta($post->ID, 'customdata_group', true); |
| <?php | |
| /** | |
| * Plugin Name: Custom Fields for WooCommerce | |
| * Description: Add custom fields to WooCommerce products | |
| * Version: 1.0.0 | |
| * Author: Gareth Harris | |
| * Author URI: https://catapultthemes.com/ | |
| * Text Domain: cfwc | |
| * WC requires at least: 3.4.0 | |
| * WC tested up to: 3.4.2 |