Changeset 2465191
- Timestamp:
- 01/29/2021 07:32:38 PM (5 years ago)
- Location:
- just-in-time-content/trunk
- Files:
-
- 3 edited
-
just-in-time-content.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
-
startfunction-admin.php (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
just-in-time-content/trunk/just-in-time-content.php
r2465052 r2465191 11 11 * Domain Path: /languages 12 12 * Text Domain: startfunction 13 * Requires at least: 5. 413 * Requires at least: 5.3 14 14 * Requires PHP: 7.0 15 15 */ … … 26 26 * Load localization file 27 27 */ 28 function startfunction_localization() {28 add_action( 'plugins_loaded', function() { 29 29 load_plugin_textdomain( 'startfunction', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); 30 } 31 32 add_action( 'plugins_loaded', 'startfunction_localization' ); 30 } ); 33 31 34 32 /** … … 77 75 } 78 76 79 } );77 } ); -
just-in-time-content/trunk/readme.txt
r2465052 r2465191 3 3 Tags: publish, post, page 4 4 Stable tag: 1.0.0 5 Requires at least: 5. 06 Tested up to: 5. 4.15 Requires at least: 5.3 6 Tested up to: 5.6 7 7 License: GPLv2 or later 8 8 -
just-in-time-content/trunk/startfunction-admin.php
r2465052 r2465191 156 156 /** 157 157 * When the plugin is activated, setup some options on the database 158 * 158 159 * @since 1.0.0 159 160 */ … … 187 188 * 188 189 * @return array 190 * 191 * @since 1.0.0 189 192 */ 190 193 function get_hours() { … … 206 209 * 207 210 * @return array 211 * 212 * @since 1.0.0 208 213 */ 209 214 function get_hours_select($is_start, $default, $field_id, $hours) { … … 225 230 * 226 231 * @return array 232 * 233 * @since 1.0.0 227 234 */ 228 235 function get_page_for_time($field_id, $pages) { … … 239 246 /** 240 247 * Validates options trying to be saved. Specific sentences are required for each value. 248 * 241 249 * @param array 242 250 * @return array 251 * 243 252 * @since 1.0.0 244 253 */ … … 275 284 /** 276 285 * Callback for morning settings section 286 * 277 287 * @since 1.0.0 278 288 */ … … 283 293 /** 284 294 * Callback for noon settings section 295 * 285 296 * @since 1.0.0 286 297 */ … … 291 302 /** 292 303 * Callback for afternoon settings section 304 * 293 305 * @since 1.0.0 294 306 */ … … 299 311 /** 300 312 * Callback for night settings section 313 * 301 314 * @since 1.0.0 302 315 */ … … 323 336 /** 324 337 * Creates a checkbox control 338 * 325 339 * @param array 340 * 326 341 * @since 1.0.0 327 342 */
Note: See TracChangeset
for help on using the changeset viewer.