Support » Plugin: Advanced Access Manager » Add URI in export option.

  • Resolved invokers

    (@invokers)


    Thanks for awesome plugin.

    I just have one request that please add URI in multisite sync/export options.

    I am using following configuration in “ConfigPress”

    [aam]
    multisite.sync.system = “roles”
    multisite.sync.roles = “menu,toolbar,metabox,redirect,route,uri”

    Tried everything but then I decided to check the code and there is no option for URI.

    advanced-access-manager\Application\Core\Exporter.php
    Line: 113

    protected function exportRoles($features)

    if ($feature === ‘menu’) {…
    if ($feature === ‘toolbar’) {…
    if ($feature === ‘route’) {…
    if ($feature === ‘metabox’) {…
    if ($feature === ‘post’) {…
    if ($feature === ‘redirect’) {…

    There is no if condition for the ‘uri’

    I can add the URI option and patch it, But not sure what regex to write for it work.

    $this->pushData(‘options’, ‘Please HELP ME WITH THIS REGEX’);
    TO export URI.

    Thanks,
    Erfan

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Add URI in export option.’ is closed to new replies.