archiveorg-book

The WordPress Core archiveorg book shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[archiveorg-book]'); 
  1. // variable usage 
  2. $result = do_shortcode('[archiveorg-book]'); 
  3. echo $result;  

Defined (1)

The shortcode is defined in the following location(s).

/modules/shortcodes/archiveorg-book.php  
  1.  
  2. $html = "<div class='embed-archiveorg-book' style='text-align:center;'><iframe src='$url' width='$width' height='$height' style='border:0;' webkitallowfullscreen='true' mozallowfullscreen='true' allowfullscreen></iframe></div>"; 
  3. return $html; 
  4.  
  5. add_shortcode( 'archiveorg-book', 'jetpack_archiveorg_book_shortcode' ); 
  6.  
  7. /** 
  8. * Compose shortcode from archive.org book iframe. 
  9. * @since 4.5.0