How to Disable File Editing from WordPress Admin Dashboad

As you all know WordPress allow us to edit files from the WordPress Admin Dashboad. This is a good feature. But it can be harmful for your website. If any hackers gain access to your WordPress admin panel, they can inject subtle, malicious code to your theme and plugin.

To disable the ability to edit plugins and the theme files, Just paste the following code in your wp-config.php file.


   define('DISALLOW_FILE_EDIT', true);

How to Disable Plugin Updates in WordPress

For example if you want to hide update notification for akismet plugin, you need to add the following function in your theme functions.php file.


function filter_plugin_updates( $value ) {
    unset( $value->response['akismet/akismet.php'] );
    return $value;
}
add_filter( 'site_transient_update_plugins', 'filter_plugin_updates' );

How to create equal height columns


<div class="row">
    <div class="col">...</div>
    <div class="col">...</div>
    <div class="col">...</div>
</div>


.row {
    display: flex;
}
.col {
    flex: 1;
}

Example:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris id nisi risus. Maecenas eu quam tellus. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Etiam sed dolor sit amet orci porttitor fermentum sit amet id velit. Suspendisse consectetur ornare dictum.
Vivamus a sem mollis, bibendum ante et, tempus eros. Maecenas in rutrum libero.