do_action( ‘before_delete_post’, int $postid, WP_Post $post ); This hook is executed just before a post is deleted, at the start of wp_delete_post(). Example: add_action( ‘before_delete_post’, ‘before_delete_project’, 99, 2 ); function before_delete_project( $postID, $post ) { if ( ‘project’ == $post->post_type ) { var_dump(‘Okay, we are good.’); return; } // My custom stuff for deleting my custom post type here } […]

June 17, 2022

Dictionary - Projects Engine

One of the most important methods for Google to figure out what your website is about is through title tags. Make sure the major term you want to rank for is included in the title tag.

March 13, 2022

Dictionary - Projects Engine

WP-CLI is WordPress’ command-line interface. Without using a web browser, you can update plugins, set up multisite installations, and much more.

January 25, 2022

Dictionary - Projects Engine

A WordPress theme is a collection of files that governs the overall look of your website. Themes may govern anything from your site’s style to the colors of its hyperlinks. It’s common to think of a theme as a “skin” for your website, but they’re much more than that.

December 21, 2021

Dictionary - Projects Engine

Roles and Capabilities allow you to restrict what other users can and cannot do on your website. They may be used to handle user operations such as writing articles, creating new pages, moderating comments, installing plugins, limiting access to the dashboard, and limiting access to frontend content, among other things.

December 8, 2021

Dictionary - Projects Engine

Blog comments are written replies to your blog postings that readers can add. Leaving a comment on a blog article allows your visitors to easily connect with you and other visitors.

December 6, 2021

Dictionary - Projects Engine

One of WordPress’s default taxonomies is category. Categories may be used to categorize and divide your blog content into separate areas.

December 6, 2021

Dictionary - Projects Engine

Custom fields are widely used to store important data by WordPress plugins and themes. You may also add custom fields to store your own data, which you can later use on your website.

December 6, 2021

Dictionary - Projects Engine

WordPress allows you to upload, save, and display a wide range of file types (media). The most frequent file types are images, videos, and audio files.

December 3, 2021

Dictionary - Projects Engine

Actions are hooks that are launched by the WordPress core at certain moments during execution or when specific events occur.

December 3, 2021

Close