I would probably go about this way:
The plugin has a function called:
wp_ozh_yourls_send_tweet($tweet);
as you can see it accepts the tweet message and posts it to twitter,
also it has another function called:
wp_ozh_yourls_geturl( $post_id );
which accepts a post id and returns a shorturl as string.
so after knowing that I would use these two in conjunction with wordpress’s
wp_schedule_single_event
and create my own function to use the plugins functions.
Now after that is said knowing how OZH codes his plugins i bet you can find hooks somewhere in there that will make you life a lot easier.
Hope this helps.
Related Posts:
- REST-API: extend media-endpoint
- Custom API plugin to execute 3rd party API to retrieve data
- Best collection of code for your 'functions.php' file [closed]
- similar of my posts in all over the internet sites and blogs [closed]
- How to structure a plugin
- How to implement a customizable free OpenID authentication?
- Should all plugins be encapsulated in a Class?
- What Features would you Most Like to See Added to WordPress? [closed]
- How can I edit post data before it is saved?
- is_plugin_active function doesn’t exist
- Difference between add_filter and apply_filters
- Custom pages with plugin
- Proper Way to Modify Plugin
- I Want to Get A Plugin Version Number Dynamically
- Delete tables from database when deleting plugin
- How can I delete orphan keys in WordPress database tables?
- Consuming an external API in WordPress?
- How to edit a wordpress plugin without break its update process
- How to delete all records from or empty a custom database table?
- Shared functionality in plugins and themes
- Get a list of all WordPress.org Plugins?
- What is right way to go about adding functionality to a published WordPress plugin?
- [Plugin WPML] : How to create a translation of a post using the WPML API?
- Looking for a Table of Contents (TOC) plugin for WordPress
- Remote upload file to server B
- WordPress Plugin Development In MVC Architecture, How?
- What WordPress API function lists active/inactive plugins?
- Is it a good idea to edit an already existing plugin to add more functionality?
- Checking if an attribute exists in a shortcode
- How Is Network Activate Different From Activate (by Implementation)?
- Creating Unique Post URLs for A/B Testing… Is this even possible?
- OpenID for WordPress 3.x? [duplicate]
- How can I import a class privately into a plugin?
- How to delete the Hello Dolly plugin automatically?
- Where should I use get_option in a plugin
- Get a button for in the Editor
- Show Similar Post Titles ( Similar to Stack Exchange )
- Change Page’s Tag Using functions.php File
- Plugin (or Theme) containing its own Plugins?
- How do I unlock a post programmatically?
- How to build an API as a plugin
- How to enable edit button in the theme’s customize UI?
- GPL and plugins
- Get Latest Plugin Version from WP API
- How do I extend one plugin I’m writing with another I’m writing using classes?
- Disable Specific Widgets on Selected Pages of a WordPress Website?
- How to create extendable wordpress plugins
- Delete Post With No Traffic?
- Create page when plugin is activated
- Automatically Creating Posts for Popular Forum Topics or Products [closed]
- Using Vagrant for customizable WordPress Multi-sites [closed]
- Generate custom output for page/URL in a plugin
- How should I use register_setting, add_settings_section, & add_settings_field in my plugin’s options page?
- Open external links in a new window
- How do I retrieve a list of popular plugins using the WordPress.org Plugin API?
- Creating button next to “add media” that allows you to choose a single post
- WooCommerce create new product and add to cart on form submit
- Extending WC_Cart in woocommerce
- How can I limit functionality in one version of a plugin?
- Integrating plugins in themes
- Some way to Flush or Overwrite all Imported Content in a Site for a Fresh Import – How?
- How to add usermeta to “Notice of Email Change” email message
- Which functions in theme or plugin load first
- WordPress Plugin as ‘Library’ From Abstract Application?
- How to show custom message once on plugin activation?
- What’s the recommended process for organising collaborative posting?
- Any way to use a custom Parameter for youtube embed without using an iframe?
- Post source link plugin – small modification
- How to add users roles dropdown in registration in wordpress
- Add CSS animation as Preloader to WordPress
- Custom comment type maybe?
- How to list the Hooks and order of execution in current loading page? [duplicate]
- Using custom code, how can I fetch data from the WordPress plugin repo?
- wp_schedule_event / cron_schedules – custom recurrence time not working in Plugin
- Add custom meta box on Post page
- Can’t use /wp-json/wp/v2/plugins API endpoint even as administrator
- Posts wont expire
- How to load a new template page according to a particular URL?
- Send Data to WordPress from kiosk
- Custom Widget Creating PHP Exception When Placed In Its Own PHP File
- How to set value/term of a Woocommerce attribute text field in admin panel?
- Multisite functions to communicate with individual site functions
- WordPress network: set themes and plugins for new blog
- Updating post meta for custom post types
- Image Crop/Resize Function/Code Sinppet/Plugin to adjust/crop images during upload
- WP get_permalink Return Wrong URL
- Themes VS Plugins [duplicate]
- Failed to invoke other hook from the init hook
- WordPress 3.1 and Disqus throws Warning: number_format() error in Posts List
- Why is this custom taxonomy showing in the database?
- WP Plugin for Terms of Use
- How to edit plugin’s html? [closed]
- WordPress Plugin development Call to undefined function jQuery()
- Conditional Display of Links in Widgets
- How to add product images using script?
- Is there a plugin to display certain posts on certain pages? [closed]
- Does the WordPress API have Modal Dialogs
- Woocommerce: Changing the variations select default value? [closed]
- Can a plugin add to header/footer/body content?
- An Unexpected HTTP Error occurred during the API request