Automattic\WooCommerce\Admin\Notes
Note::get_content_data()
Get note content data (i.e. values that would be needed for re-localization)
Method of the class: Note{}
No Hooks.
Return
Object
.
Usage
$Note = new Note(); $Note->get_content_data( $context );
- $context(string)
- What the value is for. Valid values are 'view' and 'edit'.
Default: 'view'
Note::get_content_data() Note::get content data code WC 9.7.1
public function get_content_data( $context = 'view' ) { return $this->get_prop( 'content_data', $context ); }