for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Current Site hook arg class.
*
* @package wordpoints-hooks-api
* @since 1.0.0
*/
* Represents the current Site as a hook arg.
class WordPoints_Hook_Arg_Current_Site extends WordPoints_Hook_Arg {
public function get_value() {
return get_current_blog_id();
}
public function get_title() {
return __( 'Site', 'wordpoints' );
// EOF