Hide Cost from backend

Home Forums Calendar Products Events Calendar PRO Hide Cost from backend

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1271946
    Tara Samons
    Participant

    My client does not want a cost input when creating an event in the backend. How can I do this?

    #1272489
    Victor
    Member

    Hi Tara! I’d be happy to help!

    First off, I do want to note that we are fairly limited in how much we can support custom development questions like this.

    That said, we do like helping out and at least point users into the right direction.

    Try pasting this snippet to your theme’s functions.php file:

    function hide_event_cost_table($hook) {
    if ( 'post-new.php' != $hook ) {
    return;
    }
    ?>
    <style type="text/css">
    table#event_cost {
    display: none;
    }
    </style>
    <?phpa
    }
    add_action( 'admin_enqueue_scripts', 'hide_event_cost_table' );

    This will hide the whole Event Cost section from the add / edit event. Does it work for you as well? Please let me know.

    Cheers!
    Victor

    #1283129
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Hide Cost from backend’ is closed to new replies.