Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #7536, comment 7


Ignore:
Timestamp:
01/10/2018 09:40:38 PM (7 years ago)
Author:
johnjamesjacoby
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7536, comment 7

    initial v1  
    11Related: we may want to consider adding protected methods to the field and field-group classes, so they can self-generate these URLs. It would reduce code duplication, remove some logic from the local scope of the functions we use to output the admin pages, and make these URLs testable so we can ensure their stability for future enhancements.
     2
     3Imagine something like:
     4
     5{{{
     6$group->get_edit_url()
     7}}}
     8
     9...or...
     10
     11{{{
     12$group->get_url( 'edit' )
     13}}}