Exemplo n.º 1
0
function audiomark_create_keyword($keyword)
{
    // Use URL instead the handed over keyword (unfortuately yourls does not hand it over)
    return create_short_url(yourls_sanitize_url($_REQUEST['url']));
}
Exemplo n.º 2
0
/**
 * add_on_publish function.
 *
 * @access public
 * @param mixed $post_ID
 * @return void
 */
function add_on_publish($post_ID)
{
    create_short_url($post_ID);
}