wrong

The WordPress Core wrong shortcode.


Usage

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

Defined (1)

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

/modules/shortcodes/quiz.php  
  1. /**/ 
  2. public static function init() { 
  3. add_shortcode( 'quiz', array( __CLASS__, 'shortcode' ) ); 
  4. add_shortcode( 'question', array( __CLASS__, 'question_shortcode' ) ); 
  5. add_shortcode( 'answer', array( __CLASS__, 'answer_shortcode' ) ); 
  6. add_shortcode( 'wrong', array( __CLASS__, 'wrong_shortcode' ) ); 
  7. add_shortcode( 'explanation', array( __CLASS__, 'explanation_shortcode' ) ); 
  8.  
  9. /** 
  10. * Enqueue assets needed by the quiz,