Skip to:
Content
Pages
Categories
Search
Top
Bottom

Modifying a core function!

  • Avatar of Hope
    Hope
    Participant

    @amalsh

    Hi dears,

    Anybody knows how to modify a core function without modifying a core file?
    For example I want to modify the function “bp_core_validate_email_address”, what can I do to avoid modifying a core file?

    Thanks
    Hope

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of meg@info
    meg@info
    Participant

    @megainfo

    Avatar of Hope
    Hope
    Participant

    @amalsh

    Hi meg@info,

    Thanks for replying… Actually I need to add restrictions on the entered email so this plugin is not what I need.
    I already did modifications on the function but in the core file and this is not right, core files should not be modified. There should be a way to do this (overwrite a core function).

    How could this be done?

    Thanks in advance
    Hope

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.