New Landing How can we help? General Feedback & Suggestions Ability to override functions from helpers.php

Viewing 6 posts - 1 through 6 (of 6 total)
  • #116568
    profilpr
    Member
    Post count: 9

    Hi we are using the neighborhood theme in wordpress and we need to override a function from /themes/neighborhood/includes/swift/framework/page-builder/lib/helpers.php

    Like on other spots of the theme it would be great to have the function_exists wrapper for all the functions in there.

    Example:

    
    if ( ! function_exists( 'spb_translateColumnWidthToSpan' ) ) {
      function spb_translateColumnWidthToSpan($width) {
      ...  
      }
    }
    
    #116614
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Thanks for the info, will forward it to the development team.

    -Rui

    #116903
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Will add that in for the next update, thanks for the request.

    – Ed

    #116907
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Let us know any in particular you need.

    #117369
    profilpr
    Member
    Post count: 9

    Let us know any in particular you need.

    Suppose it’s best to be able to override all of them.

    #117464
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    ok. Thanks for the input.

    -Rui

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register