Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

core-modifications

How to cache results of of get_available_post_statuses() function as it is causing a slow query on a website with over 1 million posts?

How to cache results of of get_available_post_statuses() function as it is causing a slow query on a website with over 1 million posts?

Categories functions Tags core-modifications, functions, optimization, query

Modify request payload for Core API requests

Modify request payload for Core API requests

Categories rest-api Tags core-modifications, request-filter, rest-api

Customize Notification Email Sent to New User When Manually Created by Site Administrator

I think you’re looking for the wp_new_user_notification_email() filter like here.

Categories PHP Tags core-modifications, functions, php, pluggable

Override WordPress Core File?

Override WordPress Core File?

Categories wp-admin Tags admin, core-modifications, wp-admin

How to make changes to wordpress core files and make them resistant to wordpress updates?

OK, so there are more than one question in here, so let me address some of them… Why you should never modify WordPress core files? In short words… Because it will be really hard to manage later on… If you modify the core, than you won’t be able to update it – so what, when … Read more

Categories core-modifications Tags core-modifications

Enhancing core WordPress code for private and public projects?

WordPress is licensed under GPLv2 according to their website. Answers to your questions, under the GPL: 1) Am I OK to publish my version of the code on GitHub/Packagist? Yes, as long as you keep a copy of the GPLv2 license with your released code. 2) If so, I presume I need to use the … Read more

Categories licensing Tags core-modifications, licensing

Removing a line from a WP core function (comment_template.php) – filter or other technique?

Removing a line from a WP core function (comment_template.php) – filter or other technique?

Categories filters Tags core-modifications, filters, threading

disable WP_error: authentication_failed

You can use the pluggable function wp_authenticate to override the core. https://developer.wordpress.org/reference/functions/wp_authenticate/ Important caution: Test this code on a sandbox before deploying live! function wp_authenticate($username, $password) { $username = sanitize_user($username); $password = trim($password); $user = apply_filters( ‘authenticate’, null, $username, $password ); if ( $user == null ) { $user = new WP_Error( ‘authentication_failed’, __( ‘<strong>ERROR</strong>: … Read more

Categories functions Tags core-modifications, functions, wp-error, wp-login-form

Object Cache – Avoid db queries totally

Object Cache – Avoid db queries totally

Categories wpdb Tags cache, core-modifications, wpdb

How does WordPress get the upgrade URL?

It comes from the wordpress.org API version checker endpoint (limited documentation here) and is retrieved in the wp_version_check() function.

Categories updates Tags core, core-modifications, updates, upgrade
Older posts
Page1 Page2 … Page7 Next →
+ More

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
Next Page »
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress