Call share Function Externally
-
Hello,
Is there any way to call the Plugin’s Sharing function from another plugin of theme directly?
GMB is not working if I use this:
$post = get_post( $post_id ); if ( class_exists( 'Rop' ) && class_exists( 'Rop_Admin' ) ) { $plugin = new \Rop(); $plugin_admin = new \Rop_Admin( $plugin->get_plugin_name(), $plugin->get_version() ); $plugin_admin->share_scheduled_future_post( $post ); }
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Call share Function Externally’ is closed to new replies.