function( $atts ) { $alignmentClass = ( $atts['alignment'] != null ) ? 'has-text-align-' . $atts['alignment'] : ''; return '

$alignmentClass ] ) . '>' . pp_404_get_the_url( $atts[ 'urltype' ] ) . '

'; } ] ); } } ); // Moved from init to enqueue_block_editor_assets in 11.4.1 add_action( 'enqueue_block_editor_assets', function() { wp_enqueue_script( '404page-block', pp_404page()->get_asset_url( 'js', 'block.js' ), [ 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-components', 'wp-editor' ], pp_404page()->get_plugin_version() ); } );