PATH:
home
/
lab2454c
/
archfort.com
/
wp-content
/
plugins
/
acf-random-string-field-master
<?php /* Plugin Name: Advanced Custom Fields: Random String Field Plugin URI: http://github.com/lukechapman Description: Generates a random string using a pool of alphanumeric and special characters. Version: 1.1.0 Author: luke chapman Author URI: http://iamlukechapman.com License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html */ // 1. set text domain // Reference: https://codex.wordpress.org/Function_Reference/load_plugin_textdomain load_plugin_textdomain( 'acf-random-string-field', false, dirname( plugin_basename(__FILE__) ) . '/lang/' ); // 2. Include field type for ACF5 // $version = 5 and can be ignored until ACF6 exists function include_field_types_random_string_field( $version ) { include_once('acf-random-string-field-v5.php'); } add_action('acf/include_field_types', 'include_field_types_random_string_field'); /* ** Not currently supporting ACF4 // 3. Include field type for ACF4 function register_fields_random_string_field() { include_once('acf-random-string-field-v4.php'); } add_action('acf/register_fields', 'register_fields_random_string_field'); */ ?>
[+]
js
[+]
..
[-] .gitignore
[edit]
[+]
css
[-] readme.txt
[edit]
[-] README.md
[edit]
[-] acf-random-string-field.php
[edit]
[-] acf-random-string-field-v5.php
[edit]