Skip to content

New Suggestions #1393

@ghost

Description

I'm trying to migrate from ACF and have some cool ideas about improving the workflow.

Global Function

The function workflow:

To copy a file from any options page:


define('METABOX_SETTINGS', 'theme-slug');

function theme_slug_get_option($field_id) {
  return rwmb_meta($field_name, ['object_type' => 'setting'], METABOX_SETTINGS);
}

// Then you can call, for example
$footer_copyright = theme_slug_get_option('footer_copyright');

Quick Copy field name

I saw a great extension who made for ACF there: https://chrome.google.com/webstore/detail/acf-tools/ogliegjmpalokmaaeckcdgbhdeedcnmf

The key is we interact with fields from the backend very quickly. Could we bring these small changes to our plugin base? I guess it will increase more interest in your plugin.

copy-key

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions