Documentation

Print This page

Hook For Custom Open Graph

You can use the simple filter to change the default open graph tags according to your choice. All you need to add the simple filter inside your Functions.php file.

 

Filter: ssb_og_tag

Usage Example: 

function custom_open_graph( $tags ){

	$title =  get_the_title(  );
	$tags = '';


	return $tags;
}

add_filter('ssb_og_tag','custom_open_graph');