ACF_Admin_Field_Groups::get_disabled_post_statepublicACF 5.9.0

returns the disabled post state HTML.

Method of the class: ACF_Admin_Field_Groups{}

No Hooks.

Returns

String.

Usage

$ACF_Admin_Field_Groups = new ACF_Admin_Field_Groups();
$ACF_Admin_Field_Groups->get_disabled_post_state();

Changelog

Since 5.9.0 Introduced.

ACF_Admin_Field_Groups::get_disabled_post_state() code ACF 6.0.4

public function get_disabled_post_state() {
	return '<span class="dashicons dashicons-hidden"></span> ' . _x( 'Inactive', 'post status', 'acf' );
}