Web . Write . WP.

  • Core Confidence v1

    Core Confidence v1

    This series, Core Confidence, is about returning to the WordPress core experience and skilling up on developer-focused knowledge. I chose ‘Confidence’ as a part of the title in this series, for this one reason. Confidence is a skill that one can learn. You build confidence with persistence, removing negativity/blockers from your journey and from reaffirming your…

    Read More

  • Deprecation of create_function

    Deprecation of create_function

    If you get this error whilst working with WordPress: “Deprecated: Function create_function() is deprecated in…”, the following advice works: “It addresses the add_filter statement: add_filter( 'option_page_capability_' . ot_options_id(), create_function( '$caps', "return '$caps';" ), 999 ); switch it out, and use this instead: add_filter( 'option_page_capability_' . ot_options_id(), function($caps) {return $caps;},999); We can see the usage of…

    Read More