WP-CLI and “Theme My Login” Plugin
-
Hello there,
using Theme My Login via the WP Admin interface is quite comforable, however, it does not integrate very well with the CLI. One thing i noticed is, that it is not possible anymore to add a “Log In” or “Log Out” menu item via CLI to a site’s header, as the type of the TML object is “tml_action”.
bash-4.4$ wp menu item list Header
+——-+————+————+———————————+———-+
| db_id | type | title | link | position |
+——-+————+————+———————————+———-+
| 10 | post_type | Home | https://192.168.1.184:8080/home/ | 1 |
| 24 | tml_action | Log In | https://192.168.1.184:8080/login | 7 |
+——-+————+————+———————————+———-+It would be comfortable for “Theme My Login” users to configure the plugin via CLI and add a menu item of type “tml_action”.
E.g.: wp menu item add-custom –type=tml_action –option=”Log In”It seems like this is not yet possible, or am i overseeing something?
How could this be achieved without GUI?Greetings!
- The topic ‘WP-CLI and “Theme My Login” Plugin’ is closed to new replies.