Plugin Directory

Changeset 2827914


Ignore:
Timestamp:
12/02/2022 08:09:13 PM (3 years ago)
Author:
ircary
Message:

2022.11

*Release Date - 12 December 2022*

  • CSS Tweaks
  • New Action:
    • lct/acf_form/after_acf_form
  • Added:
    • lct_pre_check_post_id()
Location:
lct-useful-shortcodes-functions/trunk
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • lct-useful-shortcodes-functions/trunk/assets/css/plugins/acf/main.css

    r2800229 r2827914  
    268268/* copy to dompdf */
    269269.hide_label div.acf-label,
    270 .hide_label .acf-label label {
     270.hide_label .acf-label label,
     271.hide_label_maintain_height div.acf-label,
     272.hide_label_maintain_height .acf-label label {
    271273  display: none;
    272274}
  • lct-useful-shortcodes-functions/trunk/assets/css/plugins/acf/main.min.css

    r2800229 r2827914  
    1 .select2-container.-acf .select2-choice{text-decoration:none !important}.acf-field.acf-c0.alignright{clear:none !important}.lct_acf_display_form .hidden-by-conditional-logic{display:inherit !important}.lct_acf_display_form .acf-field-date-picker.hidden-by-conditional-logic{display:block !important}.lct_instant .acf-form-submit{display:none !important}.lct_instant.show_submit .acf-form-submit{display:block !important}.submit_center .acf-form-submit{text-align:center}.submit_right .acf-form-submit{text-align:right}.acf-form .show_on_pdf{display:none !important}.dompdf_right{border-left:none !important}.dompdf_inline_left{border-left:none !important}.lct_ol_start{padding-bottom:0 !important}.lct_ol_start ol{margin-bottom:0}.lct_ol_continued{padding-top:0 !important;padding-bottom:0 !important;border-top:none !important;min-height:1px !important}.lct_ol_continued ol{margin-top:0;margin-bottom:0}.lct_ol_end{padding-top:0 !important;border-top:none !important}.lct_ol_end ol{margin-top:0}.lct_float_right_initial{padding-top:0 !important;padding-bottom:0 !important;border-top:none !important;border-left:none !important;border-right:none !important;min-height:1px !important}.lct_float_right_initial .acf-label,.lct_float_right_initial .acf-label label{margin-bottom:0 !important}.lct_float_right_initial .acf-input input{height:28px !important;padding-top:0 !important;padding-bottom:0 !important}.lct_acf_display_form .lct_acf_checkbox_column{display:inline-block;float:none;vertical-align:top}.lct_acf_display_form .lct_acf_checkbox_column p{margin-bottom:0}.lct_large_checkbox ul.acf-checkbox-list li input[type="checkbox"]{zoom:1.7;transform:scale(1.7);-ms-transform:scale(1.7);-webkit-transform:scale(1.7);-o-transform:scale(1.7);-moz-transform:scale(1.7);transform-origin:0 0;-ms-transform-origin:0 0;-webkit-transform-origin:0 0;-o-transform-origin:0 0;-moz-transform-origin:0 0;margin:-7px 10px 0 0}.ua-mobile-iphone .lct_large_checkbox ul.acf-checkbox-list li input[type="checkbox"],.ua-mobile-ipad .lct_large_checkbox ul.acf-checkbox-list li input[type="checkbox"]{zoom:1.5 !important;transform:scale(1.5) !important;-ms-transform:scale(1.5) !important;-webkit-transform:scale(1.5) !important;-o-transform:scale(1.5) !important;-moz-transform:scale(1.5) !important;margin:-10px 15px 0 0 !important}.lct_large_checkbox ul.acf-checkbox-list li label{font-size:20px;line-height:42px}.lct_nomp_top{margin-top:0 !important;padding-top:0 !important;border-top:none !important}.lct_nomp_bottom{margin-bottom:0 !important;padding-bottom:0 !important}.lct_nomp_top_n_bottom{margin-top:0 !important;margin-bottom:0 !important;padding-top:0 !important;padding-bottom:0 !important;border-top:none !important}.lct_acf_viewonly .acf-form-submit,.lct_acf_viewonly.lct_instant.show_submit .acf-form-submit,.lct_acf_viewonly.acf-field .acf-input select,.lct_acf_viewonly .acf-field:not(.show-imp) .acf-input select,.lct_acf_viewonly.acf-field .acf-input textarea,.lct_acf_viewonly .acf-field:not(.show-imp) .acf-input textarea,.lct_acf_viewonly.acf-field .acf-input .acf-input-wrap,.lct_acf_viewonly .acf-field:not(.show-imp) .acf-input .acf-input-wrap,.lct_acf_viewonly.acf-field:not(.lct_type_repeater) .acf-input .select2-container,.lct_acf_viewonly:not(.lct_type_repeater) .acf-field:not(.show-imp) .acf-input .select2-container,.lct_acf_viewonly.acf-field .acf-input .acf-true-false,.lct_acf_viewonly .acf-field:not(.show-imp) .acf-input .acf-true-false,.lct_acf_viewonly.acf-field .acf-input .acf-radio-list,.lct_acf_viewonly .acf-field:not(.show-imp) .acf-input .acf-radio-list,.lct_acf_viewonly.acf-field .acf-input .acf-repeater .acf-row-handle.remove,.lct_acf_viewonly .acf-field:not(.show-imp) .acf-input .acf-repeater .acf-row-handle.remove,.lct_acf_viewonly.acf-field .acf-input .acf-repeater .acf-actions,.lct_acf_viewonly .acf-field:not(.show-imp) .acf-input .acf-repeater .acf-actions,.lct_acf_viewonly.acf-field .acf-input .acf-taxonomy-field input,.lct_acf_viewonly.acf-field .acf-input .acf-taxonomy-field select,.lct_acf_viewonly .acf-field:not(.show-imp) .acf-input .acf-taxonomy-field input,.lct_acf_viewonly .acf-field:not(.show-imp) .acf-input .acf-taxonomy-field select,.lct_acf_viewonly.acf-field.acf-field-checkbox .acf-input .acf-checkbox-list,.lct_acf_viewonly .acf-field.acf-field-checkbox:not(.show-imp) .acf-input .acf-checkbox-list,.lct_acf_new_post .lct_acf_viewonly{display:none !important}.lct_acf_viewonly.acf-field .acf-input .acf-checkbox-list ul,.lct_acf_viewonly .acf-field:not(.show-imp) .acf-input .acf-checkbox-list ul{padding-left:20px}.lct_acf_viewonly.acf-field.acf-field-checkbox .acf-input ul,.lct_acf_viewonly .acf-field.acf-field-checkbox:not(.show-imp) .acf-input ul{padding-left:20px}.hide_label div.acf-label,.hide_label .acf-label label{display:none}.hide_but_save{display:none}.hide_input div.acf-input,.hide_input .acf-input input{display:none}.hide_label_show_desc .acf-label label{display:none}.lct_acf_display_form .hide_on_pdf{display:none !important}
     1.select2-container.-acf .select2-choice{text-decoration:none !important}.acf-field.acf-c0.alignright{clear:none !important}.lct_acf_display_form .hidden-by-conditional-logic{display:inherit !important}.lct_acf_display_form .acf-field-date-picker.hidden-by-conditional-logic{display:block !important}.lct_instant .acf-form-submit{display:none !important}.lct_instant.show_submit .acf-form-submit{display:block !important}.submit_center .acf-form-submit{text-align:center}.submit_right .acf-form-submit{text-align:right}.acf-form .show_on_pdf{display:none !important}.dompdf_right{border-left:none !important}.dompdf_inline_left{border-left:none !important}.lct_ol_start{padding-bottom:0 !important}.lct_ol_start ol{margin-bottom:0}.lct_ol_continued{padding-top:0 !important;padding-bottom:0 !important;border-top:none !important;min-height:1px !important}.lct_ol_continued ol{margin-top:0;margin-bottom:0}.lct_ol_end{padding-top:0 !important;border-top:none !important}.lct_ol_end ol{margin-top:0}.lct_float_right_initial{padding-top:0 !important;padding-bottom:0 !important;border-top:none !important;border-left:none !important;border-right:none !important;min-height:1px !important}.lct_float_right_initial .acf-label,.lct_float_right_initial .acf-label label{margin-bottom:0 !important}.lct_float_right_initial .acf-input input{height:28px !important;padding-top:0 !important;padding-bottom:0 !important}.lct_acf_display_form .lct_acf_checkbox_column{display:inline-block;float:none;vertical-align:top}.lct_acf_display_form .lct_acf_checkbox_column p{margin-bottom:0}.lct_large_checkbox ul.acf-checkbox-list li input[type="checkbox"]{zoom:1.7;transform:scale(1.7);-ms-transform:scale(1.7);-webkit-transform:scale(1.7);-o-transform:scale(1.7);-moz-transform:scale(1.7);transform-origin:0 0;-ms-transform-origin:0 0;-webkit-transform-origin:0 0;-o-transform-origin:0 0;-moz-transform-origin:0 0;margin:-7px 10px 0 0}.ua-mobile-iphone .lct_large_checkbox ul.acf-checkbox-list li input[type="checkbox"],.ua-mobile-ipad .lct_large_checkbox ul.acf-checkbox-list li input[type="checkbox"]{zoom:1.5 !important;transform:scale(1.5) !important;-ms-transform:scale(1.5) !important;-webkit-transform:scale(1.5) !important;-o-transform:scale(1.5) !important;-moz-transform:scale(1.5) !important;margin:-10px 15px 0 0 !important}.lct_large_checkbox ul.acf-checkbox-list li label{font-size:20px;line-height:42px}.lct_nomp_top{margin-top:0 !important;padding-top:0 !important;border-top:none !important}.lct_nomp_bottom{margin-bottom:0 !important;padding-bottom:0 !important}.lct_nomp_top_n_bottom{margin-top:0 !important;margin-bottom:0 !important;padding-top:0 !important;padding-bottom:0 !important;border-top:none !important}.lct_acf_viewonly .acf-form-submit,.lct_acf_viewonly.lct_instant.show_submit .acf-form-submit,.lct_acf_viewonly.acf-field .acf-input select,.lct_acf_viewonly .acf-field:not(.show-imp) .acf-input select,.lct_acf_viewonly.acf-field .acf-input textarea,.lct_acf_viewonly .acf-field:not(.show-imp) .acf-input textarea,.lct_acf_viewonly.acf-field .acf-input .acf-input-wrap,.lct_acf_viewonly .acf-field:not(.show-imp) .acf-input .acf-input-wrap,.lct_acf_viewonly.acf-field:not(.lct_type_repeater) .acf-input .select2-container,.lct_acf_viewonly:not(.lct_type_repeater) .acf-field:not(.show-imp) .acf-input .select2-container,.lct_acf_viewonly.acf-field .acf-input .acf-true-false,.lct_acf_viewonly .acf-field:not(.show-imp) .acf-input .acf-true-false,.lct_acf_viewonly.acf-field .acf-input .acf-radio-list,.lct_acf_viewonly .acf-field:not(.show-imp) .acf-input .acf-radio-list,.lct_acf_viewonly.acf-field .acf-input .acf-repeater .acf-row-handle.remove,.lct_acf_viewonly .acf-field:not(.show-imp) .acf-input .acf-repeater .acf-row-handle.remove,.lct_acf_viewonly.acf-field .acf-input .acf-repeater .acf-actions,.lct_acf_viewonly .acf-field:not(.show-imp) .acf-input .acf-repeater .acf-actions,.lct_acf_viewonly.acf-field .acf-input .acf-taxonomy-field input,.lct_acf_viewonly.acf-field .acf-input .acf-taxonomy-field select,.lct_acf_viewonly .acf-field:not(.show-imp) .acf-input .acf-taxonomy-field input,.lct_acf_viewonly .acf-field:not(.show-imp) .acf-input .acf-taxonomy-field select,.lct_acf_viewonly.acf-field.acf-field-checkbox .acf-input .acf-checkbox-list,.lct_acf_viewonly .acf-field.acf-field-checkbox:not(.show-imp) .acf-input .acf-checkbox-list,.lct_acf_new_post .lct_acf_viewonly{display:none !important}.lct_acf_viewonly.acf-field .acf-input .acf-checkbox-list ul,.lct_acf_viewonly .acf-field:not(.show-imp) .acf-input .acf-checkbox-list ul{padding-left:20px}.lct_acf_viewonly.acf-field.acf-field-checkbox .acf-input ul,.lct_acf_viewonly .acf-field.acf-field-checkbox:not(.show-imp) .acf-input ul{padding-left:20px}.hide_label div.acf-label,.hide_label .acf-label label,.hide_label_maintain_height div.acf-label,.hide_label_maintain_height .acf-label label{display:none}.hide_but_save{display:none}.hide_input div.acf-input,.hide_input .acf-input input{display:none}.hide_label_show_desc .acf-label label{display:none}.lct_acf_display_form .hide_on_pdf{display:none !important}
  • lct-useful-shortcodes-functions/trunk/assets/css/plugins/acf/main.scss

    r2800229 r2827914  
    246246/* copy to dompdf *//* copy to dompdf *//* copy to dompdf *//* copy to dompdf *//* copy to dompdf *//* copy to dompdf */
    247247.hide_label div.acf-label,
    248 .hide_label .acf-label label{
     248.hide_label .acf-label label,
     249.hide_label_maintain_height div.acf-label,
     250.hide_label_maintain_height .acf-label label{
    249251    display: none;
    250252}
  • lct-useful-shortcodes-functions/trunk/assets/wp-admin/css/custom.css

    r2771323 r2827914  
    7070.hide_label div.acf-label,
    7171.hide_label .acf-label label,
     72.hide_label_maintain_height div.acf-label,
     73.hide_label_maintain_height .acf-label label,
    7274.hide_but_save {
    7375  display: none;
  • lct-useful-shortcodes-functions/trunk/assets/wp-admin/css/custom.min.css

    r2050587 r2827914  
    1 .customtaxorder li.lineitem{height:auto !important}#acf-admin-tool-export ul{column-width:auto !important}.hide_label div.acf-label,.hide_label .acf-label label,.hide_but_save{display:none}.hide_label_show_desc .acf-label label{display:none}.acf-field.acf-c0.alignright{clear:none !important}
     1.customtaxorder li.lineitem{height:auto !important}#acf-admin-tool-export ul{column-width:auto !important}.hide_label div.acf-label,.hide_label .acf-label label,.hide_label_maintain_height div.acf-label,.hide_label_maintain_height .acf-label label,.hide_but_save{display:none}.hide_label_show_desc .acf-label label{display:none}.acf-field.acf-c0.alignright{clear:none !important}
  • lct-useful-shortcodes-functions/trunk/assets/wp-admin/css/plugins/acf/main.css

    r2771323 r2827914  
    3434.hide_label div.acf-label,
    3535.hide_label .acf-label label,
     36.hide_label_maintain_height div.acf-label,
     37.hide_label_maintain_height .acf-label label,
    3638.hide_but_save {
    3739  display: none;
  • lct-useful-shortcodes-functions/trunk/assets/wp-admin/css/plugins/acf/main.min.css

    r2050587 r2827914  
    1 #acf-admin-tool-export ul{column-width:auto !important}.hide_label div.acf-label,.hide_label .acf-label label,.hide_but_save{display:none}.hide_label_show_desc .acf-label label{display:none}.acf-field.acf-c0.alignright{clear:none !important}
     1#acf-admin-tool-export ul{column-width:auto !important}.hide_label div.acf-label,.hide_label .acf-label label,.hide_label_maintain_height div.acf-label,.hide_label_maintain_height .acf-label label,.hide_but_save{display:none}.hide_label_show_desc .acf-label label{display:none}.acf-field.acf-c0.alignright{clear:none !important}
  • lct-useful-shortcodes-functions/trunk/assets/wp-admin/css/plugins/acf/main.scss

    r2771323 r2827914  
    2727.hide_label div.acf-label,
    2828.hide_label .acf-label label,
     29.hide_label_maintain_height div.acf-label,
     30.hide_label_maintain_height .acf-label label,
    2931.hide_but_save{
    3032    display: none;
  • lct-useful-shortcodes-functions/trunk/code/admin/_admin.php

    r2800229 r2827914  
    581581     * @unused   param $meta_value
    582582     * @since    0.0
    583      * @verified 2020.11.10
     583     * @verified 2022.11.28
    584584     */
    585585    function mark_post_to_be_updated_later(
     
    603603            '_tribe_progressive_ticket_current_number',
    604604            'avada_post_views_count',
     605            'avada_today_post_views_count',
     606            'xbs:::last_updated_installations',
    605607        ];
    606608
  • lct-useful-shortcodes-functions/trunk/code/api/_helpers.php

    r2800229 r2827914  
    19931993 * Save the info, so we can run the function later. That way it will for sure not get overwritten
    19941994 *
    1995  * @param $function
    1996  * @param $args
     1995 * @param string|array $function
     1996 * @param array        $args
    19971997 *
    19981998 * @since    2017.77
    1999  * @verified 2017.09.12
     1999 * @verified 2022.11.30
    20002000 */
    20012001function lct_function_later( $function, $args = [] ) {
     
    20042004        'args'     => $args,
    20052005    ];
     2006
     2007
     2008    if ( is_array( $function ) ) {
     2009        $later['class']    = $function[0];
     2010        $later['function'] = $function[1];
     2011    }
    20062012
    20072013
     
    30143020 *
    30153021 * @since    2019.1
    3016  * @verified 2019.01.28
     3022 * @verified 2022.11.30
    30173023 */
    30183024function lct_do_function_later() {
    30193025    if ( $updates = lct_get_later( 'function_later' ) ) {
    30203026        foreach ( $updates as $ud ) {
    3021             call_user_func_array( $ud['function'], $ud['args'] );
     3027            if ( ! empty( $ud['class'] ) )
     3028                call_user_func_array( [ $ud['class'], $ud['function'] ], $ud['args'] );
     3029            else
     3030                call_user_func_array( $ud['function'], $ud['args'] );
    30223031        }
    30233032
     
    36363645    return implode( ' ', $attributes );
    36373646}
     3647
     3648
     3649/**
     3650 * Injects the root post_id if there is a placeholder present
     3651 *
     3652 * @param mixed $post_id The post_id for this data.
     3653 *
     3654 * @return  mixed
     3655 * @date     2022.11.30
     3656 * @since    2022.11
     3657 * @verified 2022.11.30
     3658 */
     3659function lct_pre_check_post_id( $post_id = null ) {
     3660    $placeholder = '{post_id}';
     3661
     3662
     3663    if (
     3664        $post_id === $placeholder &&
     3665        ( $root_id = afwp_get_root_post_id() )
     3666    ) {
     3667        return str_replace( $placeholder, $root_id, $post_id );
     3668    }
     3669
     3670
     3671    return $post_id;
     3672}
  • lct-useful-shortcodes-functions/trunk/code/features/shortcodes/sort.php

    r2815356 r2827914  
    281281     * @return string
    282282     * @since    5.36
    283      * @verified 2022.11.03
     283     * @verified 2022.11.22
    284284     */
    285285    function get_the_title( $a ) {
     
    289289
    290290
    291         if ( isset( $a['id'] ) )
     291        if ( isset( $a['id'] ) ) {
    292292            $post_id = $a['id'];
    293         else if ( ! empty( $post ) )
     293        } else if ( ! empty( $post ) ) {
    294294            $post_id = $post->ID;
    295         else {
    296             global $term, $taxonomy;
     295        } else {
     296            global $term, $taxonomy, $author;
    297297
    298298
     
    307307            ) {
    308308                $title = $term_obj->name;
     309
     310
     311                /**
     312                 * Check for an author page
     313                 */
     314            } else if (
     315                ! empty( $author ) &&
     316                ( $user_obj = get_userdata( $author ) ) &&
     317                ! lct_is_wp_error( $user_obj )
     318            ) {
     319                $title = $user_obj->display_name;
    309320            }
    310321        }
  • lct-useful-shortcodes-functions/trunk/code/plugins/acf/_shortcodes.php

    r2782154 r2827914  
    11<?php
    2 /**
    3  * @noinspection PhpMissingFieldTypeInspection
    4  */
    52//Do not allow directly accessing this file
    63if ( ! defined( 'ABSPATH' ) )
     
    24992496     * @return string
    25002497     * @since    2019.27
    2501      * @verified 2022.02.03
     2498     * @verified 2022.11.30
    25022499     */
    25032500    function acf_display_value( $a ) {
     
    25172514
    25182515        /**
     2516         * Check post_id
     2517         */
     2518        $a['post_id'] = lct_pre_check_post_id( $a['post_id'] );
     2519
     2520
     2521        /**
    25192522         * format_value
    25202523         */
  • lct-useful-shortcodes-functions/trunk/code/plugins/acf/api/form.php

    r2800229 r2827914  
    8383 * @return bool|string
    8484 * @since    7.49
    85  * @verified 2022.10.07
     85 * @verified 2022.11.29
    8686 */
    8787function lct_acf_form2( $a ) {
     
    785785        if ( $a['lct_echo_form'] === false )
    786786            $a['r'] = do_shortcode( ob_get_clean() );
     787
     788
     789        /**
     790         * Action Hook
     791         *
     792         * @date     2022.11.28
     793         * @since    2022.11
     794         * @verified 2022.11.28
     795         */
     796        do_action( 'lct/acf_form/after_acf_form', $a );
    787797    }
    788798
  • lct-useful-shortcodes-functions/trunk/code/plugins/acf/api/get.php

    r2815356 r2827914  
    1212 * @return array
    1313 * @since    7.29
    14  * @verified 2016.11.22
     14 * @verified 2022.11.14
    1515 */
    1616function lct_acf_get_pretty_class_selector() {
     
    2929    $choices['hidden']                        = 'Hidden (Hide whole field completely)';
    3030    $choices['hide_label']                    = 'Hide label';
     31    $choices['hide_label_maintain_height']    = 'Hide label, but maintain label height';
    3132    $choices['hide_but_save']                 = 'Hide field, but save it';
    3233    $choices['hide_input']                    = 'Hide input';
     
    12371238 * When you are saving an ACF form they store the values in an array with the field_key as the array key.
    12381239 * This function allows you to look up a value by the selector as well
     1240 * Don't use this
    12391241 *
    12401242 * @param string $selector
     
    12461248 * @return mixed|null
    12471249 * @since    2019.8
    1248  * @verified 2019.04.18
     1250 * @verified 2022.11.15
    12491251 */
    12501252function lct_acf_get_POST_repeater_value( $selector, $row, $sub_field, $post_id = null, $format_value = false ) {
     
    12651267    if ( ( $parent_value = lct_acf_get_POST_value( $selector, $post_id ) ) === null )
    12661268        return $r;
     1269
     1270
     1271    $parent_value = array_values( $parent_value );
    12671272
    12681273
     
    13031308 * @return array
    13041309 * @since    2019.6
    1305  * @verified 2022.10.24
     1310 * @verified 2022.11.17
    13061311 */
    13071312function lct_acf_get_POST_values_w_selector_key( $post = null, $return_field = false, $special_process = false ) {
     
    13601365
    13611366
    1362             $r = array_merge( $r, lct_acf_get_POST_values_w_selector_key( $send, $return_field, 'looping' ) );
     1367            $cloned_fields = lct_acf_get_POST_values_w_selector_key( $send, $return_field, 'looping' );
     1368
     1369
     1370            if ( $return_field ) {
     1371                foreach ( $cloned_fields as $cloned_field_key => $cloned_field ) {
     1372                    $cloned_fields[ $cloned_field_key ]['afwp_tmp_is_cloned_field'] = true;
     1373                }
     1374            }
     1375
     1376
     1377            $r = array_merge( $r, $cloned_fields );
    13631378        }
    13641379
  • lct-useful-shortcodes-functions/trunk/code/plugins/acf/display_form.php

    r2679272 r2827914  
    4646
    4747        /**
    48          * everytime
     48         * Filters
    4949         */
    5050        add_filter( 'lct/should_set_empty_value', [ $this, 'should_set_empty_value' ], 5 );
    51 
    52 
    53         //if ( lct_frontend() ) {}
    54 
    55 
    56         //if ( lct_wp_admin_all() ) {}
    57 
    58 
    59         //if ( lct_wp_admin_non_ajax() ) {}
    60 
    61 
    62         //if ( lct_ajax_only() ) {}
    6351    }
    6452
     
    129117     * Sets the displayed value to the choice label of the value
    130118     *
    131      * @param $value
    132      * @param $field
    133      * @param $class
     119     * @param mixed    $value
     120     * @param array    $field
     121     * @param stdClass $class
    134122     *
    135123     * @return mixed
     
    137125     * @verified 2017.11.16
    138126     */
    139     function render_select_value_choice(
    140         $value,
    141         $field,
    142         /** @noinspection PhpUnusedParameterInspection */
    143         $class
    144     ) {
     127    function render_select_value_choice( $value, $field, $class ) {
    145128        if (
    146129            ( $tmp = $field[ get_cnst( 'class_selector' ) ] ) &&
  • lct-useful-shortcodes-functions/trunk/code/plugins/acf/public_choices.php

    r2815356 r2827914  
    503503     * @return array
    504504     * @since    2017.34
    505      * @verified 2017.04.27
     505     * @verified 2022.11.16
    506506     */
    507507    function pretty_wp_roles( $field ) {
     508        $field['placeholder'] = 'Choose a Role...';
     509
     510
    508511        $field['choices'] = apply_filters( 'lct/pretty_wp_roles', $this->pretty_wp_roles_data() );
    509512
  • lct-useful-shortcodes-functions/trunk/lct-useful-shortcodes-functions.php

    r2815356 r2827914  
    44 * Plugin URI: https://www.simplesmithmedia.com
    55 * Description: Shortcodes & Functions that will help make your life easier.
    6  * Version: 2022.10
     6 * Version: 2022.11
    77 * Author: SimpleSmithMedia
    88 * Author URI: https://www.simplesmithmedia.com
  • lct-useful-shortcodes-functions/trunk/readme.txt

    r2815356 r2827914  
    2929
    3030== Important Stats ==
    31 * Action Hook Count [verified: 2022.9]: 92 (Not included: 21 Templates)
    32 * Filter Hook Count: 00 (Not included: 00 Templates)
     31* Action Hook Count [verified: 2022.9]: 93 (Not included: 21 Templates) [do_action(]
     32* Filter Hook Count: 00 (Not included: 00 Templates) [apply_filters(]
    3333
    3434== Changelog ==
     35= 2022.11 =
     36*Release Date - 12 December 2022*
     37
     38* CSS Tweaks
     39* New Action:
     40    * lct/acf_form/after_acf_form
     41* Added:
     42    * lct_pre_check_post_id()
     43
    3544= 2022.10 =
    3645*Release Date - 09 November 2022*
Note: See TracChangeset for help on using the changeset viewer.