Home / APIs / WC_Settings_API::get_field_key() – Prefix key for settings.

You appear to be a bot. Output may be restricted

Description

Prefix key for settings.

Usage

$string = WC_Settings_API::get_field_key( $key );

Parameters

$key
( string ) required – Field key.

Returns

string

Source

File name: woocommerce/includes/abstracts/abstract-wc-settings-api.php
Lines: 1 to 3 of 3

  public function get_field_key( $key ) {
    return $this->plugin_id . $this->id . '_' . $key;
  }
 

 View on GitHub View on Trac

Published: 14th March 2017 | Last updated: 14th March 2017

Information

Function name: WC_Settings_API::get_field_key
Class ref: WC_Settings_API
Plugin ref: WooCommerce
Version: 3.6.0-dev
Sourcefile: includes/abstracts/abstract-wc-settings-api.php
File ref: includes/abstracts/abstract-wc-settings-api.php
Deprecated?: No
API Letters: A,F,G,S,W

  • Plugins
  • Themes
  • Shortcodes
  • APIs
  • Files
  • Hooks
  • Classes
  • Sites
  • Sitemap
  • Blog
WooCommerce a2z WooCommerce a2z
WooCommerce

Site:  woocommerce.wp-a2z.org
© Copyright WooCommerce a2z 2014-2019. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins