Tribe__Events__Community__Main::register_resources()
Registers scripts and styles.
Source
File: src/Tribe/Main.php
public function register_resources() { tribe_asset( $this, 'tribe-events-community-select2', 'tribe-events-community-select2.css' ); tribe_asset( $this, 'tribe-events-community-list', 'tribe-events-community-list.css' ); tribe_asset( $this, 'tribe-events-community-shortcodes', 'tribe-events-community-shortcodes.css' ); $stylesheet_url = 'tribe-events-community.css'; // Our stylesheet tribe_asset( $this, Tribe__Events__Main::POSTTYPE . '-community-styles', $stylesheet_url, array( 'tribe-datepicker', 'tribe-select2-css', 'tribe-common-admin', 'tribe-dependency-style', 'tribe-events-community-list', ) ); // Custom stylesheet tribe_asset( $this, 'tribe-events-community-override-styles', Tribe__Events__Templates::locate_stylesheet( 'tribe-events/community/tribe-events-community.css' ), array(), 'wp_enqueue_scripts', array( 'groups' => array( 'events-styles' ), ) ); // Our javascript tribe_asset( $this, Tribe__Events__Main::POSTTYPE . '-community', 'tribe-events-community.js', array( 'jquery', 'tribe-dependency', ) ); }