diff --git a/packages/ui/tag/stories/tabs/TabCode.mdx b/packages/ui/tag/stories/tabs/TabCode.mdx index 0b4957b5e..e7af8069a 100644 --- a/packages/ui/tag/stories/tabs/TabCode.mdx +++ b/packages/ui/tag/stories/tabs/TabCode.mdx @@ -1,4 +1,4 @@ -import { Section, Row, Col, Table, List, Code, Tag, PackageInstallGuide, PropSection, CommonPropsNotice } from '@wpmudev/sui-docs'; +import { Section, Row, Col, Table, List, Code, Tag, PackageInstallGuide, PropSection, CommonPropsNotice, Snippet } from '@wpmudev/sui-docs'; @@ -64,4 +64,75 @@ import { Section, Row, Col, Table, List, Code, Tag, PackageInstallGuide, PropSec +
+

Use this function to use tags in plugin menu.

+ + + li:nth-child(3) the number should be the item number in the list which to target. } /> + + +{` + +`} + + +{`public static function get_menu_title() { + return esc_html__( 'Reseller', 'thc' ) . ' ' . esc_html__( 'NEW', 'plugin-name' ) . ''; +}`} + +
+ \ No newline at end of file