name: Update lists on: schedule: – cron: ‘0 0,12 * * *’ # At 00:00 and 12:00 (midnight and noon) every day workflow_dispatch: # Manual triggering inputs: run-manual: description: ‘Run the script manually’ required: false default: ‘yes’ jobs: build: runs-on:…Continue reading
https://github.com/dontcrash/NRD.gitContinue reading
wordpress $ cd wp-content wp-content $ cd plugins plugins $ mkdir plugin-name plugins $ cd plugin-name plugin-name $ vi plugin-name.phpContinue reading
https://www.highcpmgate.com/nhbhtr0d?key=03e2438ad5e312b7ac5fafb7447c08d2Continue reading
add_action( ‘admin_bar_menu’, function ( $admin_bar ) { // Only show this when editing a post. $screen = get_current_screen(); if ( ! $screen || ‘post’ !== $screen->base ) { return; } $post = get_post(); $post_type_object = get_post_type_object( $post->post_type ); if (…Continue reading
add_action( ‘admin_bar_menu’, function ( $admin_bar ) { // Only show this when editing a post. $screen = get_current_screen(); if ( ! $screen || ‘post’ !== $screen->base ) { return; } $post = get_post(); $post_type_object = get_post_type_object( $post->post_type ); if (…Continue reading
add_action( ‘admin_bar_menu’, function ( $admin_bar ) { // Only show this when editing a post. $screen = get_current_screen(); if ( ! $screen || ‘post’ !== $screen->base ) { return; } $post = get_post(); $post_type_object = get_post_type_object( $post->post_type ); if (…Continue reading
// When the user profile form is updated, this snippet checks if the business_name field matches a preexisting vendor post title. // If so, a vendor profile claim request is sent to the ‘Vendor Claims’ admin page // This snippet…Continue reading