Skip to:
Content
Pages
Categories
Search
Top
Bottom

Register page meta:property contaminated


  • Lars Henriksen
    Participant

    @adjunkten

    Hello there,

    I would like to edit metadata on the register page, like you do with Yoast on blog posts.
    When I share it on Facebook it says ‘Powered by Events Manager”, which looks a bit stupid.
    The first line of my register.php is

    <?php do_action( 'bp_before_register_page' ); ?>

    .. so I tried to locate this code to check for metadata, but I can’t find it.

    Can anyone help?

    Thanks again

    Lars

Viewing 1 replies (of 1 total)

  • danbp
    Moderator

    @danbp

    The first line code is an action hook. In other words a placeholder. This means also that, so far i remember, that it does nothing by default. It is there if you need to add some text before your register fields for example, or a video or any other content you can hook in there, by the way.

    Also i don’t think that you can/have to modify some metadata from there. When you see this code, you’re on the register template. Far away from metadatas which are usually all declared in the site header.

    If your goal is to remove “powered by Events Manager”, you’ve better to search in the Events Manager plugin files for the function who generate this meta.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar