fb_album

The FB Photo Sync fb album shortcode.


Usage

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

Defined (1)

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

/fb-photo-sync.php  
  1. add_action( 'wp_ajax_fbps_save_album', array( $this, 'ajax_save_photos' ) ); 
  2. add_action( 'wp_ajax_fbps_save_app', array( $this, 'ajax_save_app' ) ); 
  3. add_action( 'wp_ajax_fbps_remove_app', array( $this, 'ajax_remove_app' ) ); 
  4. add_action( 'wp_ajax_fbps_delete_album', array( $this, 'ajax_delete_photos' ) ); 
  5.  
  6. add_shortcode( 'fb_album', array( $this, 'fb_album_shortcode' ) ); 
  7.  
  8. public function admin_scripts() { 
  9. $ver = $this->version; 
  10. wp_enqueue_style( 'fbps-admin-styles', plugin_dir_url( __FILE__ ) . 'css/admin.css', array(), $ver );